-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (61 loc) · 1.47 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
[project]
name = "bulk-data-service"
version = "0.2.0"
requires-python = ">= 3.12.6"
readme = "README.md"
dependencies = [
"azure-storage-blob==12.20.0",
"psycopg[binary,pool]==3.1.18",
"requests==2.31.0",
"yoyo-migrations==9.0.0",
"prometheus-client==0.20.0",
"toml==0.10.2"
]
[project.optional-dependencies]
dev = [
"pip-tools",
"isort",
"mypy",
"pytest",
"black",
"flake8",
"flake8-pyproject",
"types-requests",
"python-dotenv",
"pytest-watcher",
"types-toml"
]
[tool.pip-tools]
strip-extras = true
[tool.pytest.ini_options]
testpaths = ["tests/unit", "tests/integration"]
addopts = [
"--import-mode=importlib"
]
pythonpath = [
"src", "tests"
]
filterwarnings = [
"ignore::DeprecationWarning:yoyo.*:", # ignore deprecations from all modules
"ignore::DeprecationWarning:yoyo.*:", # ignore deprecations from all modules
"default::DeprecationWarning:bulk_data_service.*:", # except the app
]
[tool.isort]
py_version=312
extend_skip = ['__pycache__', '.mypy_cache', '.ve', '.venv', '.vagrant-ve']
skip_gitignore = true
src_paths = ['src', 'tests']
line_length = 119
profile = "black"
[tool.mypy]
files=["src/"]
mypy_path=["tests/"]
[tool.flake8]
max-line-length = 119
extend_ignore = ['E203', 'W503', 'E275']
exclude = ['__pycache__', '.mypy_cache', '.pytest_cache', '.ve', '.venv', '.vagrant-ve']
max_complexity = 7
[tool.black]
line-length = 119
target-version = ['py312']
include='''src/.*/*.py$'''