-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.32 KB
/
pyproject.toml
File metadata and controls
73 lines (64 loc) · 1.32 KB
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nztaxmicrosim"
version = "0.1.1"
description = "A Python-based microsimulation model for the New Zealand tax and transfer system."
readme = "README.md"
dependencies = [
"pandas",
"numpy",
"optuna",
"pydantic",
"matplotlib",
"seaborn",
"joblib",
"kedro",
"scipy",
"tabulate>=0.9.0",
"requests",
"pyyaml",
"wbdata",
"fastapi",
"uvicorn",
"celery",
"redis",
"faker",
"httpx",
"python-multipart",
]
[tool.pytest.ini_options]
pythonpath = [
".",
"src",
]
testpaths = [
"tests",
]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I"] # Error, Flake8, Warnings, Isort
ignore = []
exclude = ["syspop/"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
allow_untyped_globals = true
disable_error_code = ["var-annotated"]
[tool.coverage.run]
source = ["src"]
omit = ["*/shibokensupport/*", "signature_bootstrap.py"]
[tool.setuptools.package-data]
nztaxmicrosim = ["docs/*"]
[tool.bandit]
exclude = [".tox"]