-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
86 lines (77 loc) · 2.01 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[tool.poetry]
name = "datagateway-api"
version = "9.1.0"
description = "ICAT API to interface with the DataGateway"
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/ral-facilities/datagateway-api"
repository = "https://github.com/ral-facilities/datagateway-api"
authors = ["Matthew Richards <[email protected]>"]
[tool.semantic_release]
version_toml = [
"pyproject.toml:tool.poetry.version"
]
branch = "main"
upload_to_pypi = false
upload_to_release = true
build_command = "pip install poetry==1.1.9 && poetry build"
[tool.poetry.dependencies]
python = ">=3.6.1,<4.0"
Flask = "^2.0.3"
Flask-RESTful = "^0.3.7"
SQLAlchemy = "^1.3.8"
PyMySQL = "1.0.2"
Flask-Cors = "^4.0.1"
apispec = "3.3.0"
flask-swagger-ui = "3.25.0"
PyYAML = "^6.0"
python-icat = "1.0.0"
suds-community = "^0.8.4"
py-object-pool = "^1.1"
cachetools = "^4.2.1"
Flask-SQLAlchemy = "^2.4.4"
requests = "^2.25.1"
python-dateutil = "^2.8.1"
pydantic = "^1.8.2"
[tool.poetry.dev-dependencies]
pip-tools = "5.3.1"
Faker = "8.5.1"
black = "19.10b0"
flake8 = "^3.8.4"
flake8-bandit = "^2.1.2"
flake8-bugbear = "^20.1.4"
flake8-import-order = "^0.18.1"
flake8-builtins = "^1.5.3"
flake8-broken-line = "^0.3.0"
flake8-commas = "^2.0.0"
flake8-comprehensions = "^3.3.0"
flake8-logging-format = "^0.6.0"
pep8-naming = "^0.11.1"
pytest = "^6.1.2"
coverage = {extras = ["toml"], version = "^5.3"}
pytest-cov = "^2.10.1"
pytest-icdiff = "^0.5"
python-semantic-release = "^7.19.2"
coverage-conditional-plugin = "^0.5.0"
safety = "^2.2.0"
flake8-black = "0.2.4"
[tool.poetry.scripts]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.paths]
source = ["datagateway_api"]
[tool.coverage.run]
branch = true
source = ["datagateway_api"]
plugins = ["coverage_conditional_plugin"]
omit = [
"*api_start_utils.py",
"*logger_setup.py",
"*main.py",
"*wsgi.py",
]
[tool.coverage.coverage_conditional_plugin.rules]
py-37-code = "sys_version_info > (3, 6)"
[tool.coverage.report]
show_missing = true