-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
119 lines (107 loc) · 2.54 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.poetry]
name = "mytardis_ingestion"
version = "0.2.0"
description = ""
authors = ["Chris Seal <[email protected]>"]
packages = [{include = "src"}]
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
requests = "^2.31.0"
PyYAML = "^6.0"
pydantic = "^2.9.1"
pytz = "^2024.1"
types-pytz = "^2024.1.0.20240417"
python-slugify = "^8.0.1"
pydantic-settings = "^2.3.4"
requests-cache = "^1.2.1"
validators = "^0.34.0"
typer = "^0.12.5"
rocrate = "^0.10.0"
tenacity = "^9.0.0"
typing-extensions = "^4.12.2"
types-pyyaml = "^6.0.12.20240808"
typeguard = "^4.3.0"
[tool.poetry.group.dev.dependencies]
wily = "^1.25.0"
pytest-xdist = "^3.2.1"
types-python-slugify = "^8.0.0.2"
pytest-mock = "^3.11.1"
bandit = "^1.7.5"
pytest = "^8.3.3"
mock = "^5.0.2"
pytest-dependency = "^0.6.0"
pylint = "^3.2.7"
interrogate = "^1.5.0"
mypy = "^1.11"
types-requests = "^2.32.0"
types-mock = "^5.1.0"
PySnooper = "^1.2.1"
responses = "^0.25.3"
pre-commit = "^3.5.0"
pytest-cov = "^5.0.0"
genbadge = {extras = ["tests", "coverage"], version = "^1.0.6"}
click = "8.1.7"
coverage = {extras = ["toml"], version = "^7.5.4"}
pyright = "^1.1.379"
devtools = "^0.12.2"
sphinx = "^7.2.6"
flake8-bandit = "^4.1.1"
flake8-pyproject = "^1.2.3"
toml = "^0.10.2"
pyproject-pre-commit = "^0.2.4"
pyfakefs = "^5.3.1"
black = "^24.4.0"
isort = "^5.13.2"
deptry = "^0.20.0"
types-python-dateutil = "^2.9.0.20240906"
[tool.poetry.scripts]
ids = 'src.ids:app'
[tool.isort]
profile = "black"
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = true
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
exclude = ["tests", "docs", "build", "samples"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*", "^test$"]
verbose = 2
quiet = false
whitelist-regex = []
color = true
fail-under = 50
[tool.mypy]
files = [
"src/**/*.py"
]
ignore_missing_imports = true
exclude = [
"^tests/.*$",
"^docs/.*$",
"^samples/.*$",
]
plugins = ["pydantic.mypy"]
strict = true
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
[tool.bandit.assert_used]
skips = ["./tests/*", "test_*.py", "samples/*"]
[tool.coverage.run]
omit = [
"tests/*",
"docs/*",
"src/specific_implementations/*",
"src/helpers/*"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
markers = ["long: marks tests as long running (deselect with '-m \"not long\"')"]