-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
66 lines (58 loc) · 1.39 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"mypy==1.13.0",
"packaging>=21,<25",
"pympler>1,<2",
"setuptools",
"types_deprecated",
"versioneer[toml]",
]
[tool.isort]
profile = "black"
add_imports="from __future__ import annotations"
[tool.mypy]
strict = true
check_untyped_defs = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
show_error_codes = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"async_timeout",
"beartype",
"asyncache",
"aiobotocore.*",
"botocore.*",
"cachetools",
"deprecated",
"pympler",
"wrapt",
]
ignore_errors = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "coredis.response._callbacks.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "coredis.modules.response._callbacks.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "coredis._version"
ignore_errors = true
ignore_missing_imports = true
[tool.ruff]
line-length=100
exclude = ["doc/**","_version.py","versioneer.py", "coredis/pipeline.pyi", "coredis/speedups.pyi"]
lint.typing-modules = ["coredis.typing"]
[tool.versioneer]
VCS = "git"
style = "pep440-pre"
versionfile_source = "coredis/_version.py"
versionfile_build = "coredis/_version.py"
parentdir_prefix = "coredis-"