-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
46 lines (42 loc) · 1.02 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
[build-system]
requires = ["setuptools==69.5.1", "wheel==0.42.0"]
build-backend = "setuptools.build_meta"
[tool.bandit]
skips = ["B101", "B311", "B413"]
[tool.black]
target-version = ["py312", "py313"]
line-length = 80
[tool.isort]
atomic = true
combine_as_imports = true
line_length = 80
profile = "black"
py_version = "312"
remove_redundant_aliases = true
skip_gitignore = true
[tool.mypy]
strict = true
sqlite_cache = true
python_version = "3.12"
warn_unreachable = true
# disallow_any_expr = true
# disallow_any_explicit = true
# disallow_any_decorated = true
disallow_any_unimported = true
plugins = "numpy.typing.mypy_plugin"
enable_error_code = [
# "explicit-override",
"ignore-without-code",
"possibly-undefined",
"redundant-expr",
"redundant-self",
"truthy-bool",
"truthy-iterable",
"unused-awaitable",
]
local_partial_types = true
disable_bytearray_promotion = true
disable_memoryview_promotion = true
enable_incomplete_feature = ["PreciseTupleTypes"]
packages = ["an_website", "tests", "scripts"]
modules = "setup"