-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpyproject.toml
55 lines (48 loc) · 955 Bytes
/
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
[build-system]
requires = ["setuptools>=42",
"wheel",
"cmake>=3.13"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
exclude = '''
(
| \.egg
| \.git
| \.hg
| \.mypy_cache
| \.nox
| \.tox
| \.venv
| _build
| build
| dist
| setup.py
)
'''
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "debug"
[tool.mypy]
namespace_packages = true
files = [
"src/python/module/smartredis/"
]
plugins = []
ignore_errors=false
# Strict fn defs
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
# Safety/Upgrading Mypy
warn_unused_ignores = true
# warn_redundant_casts = true # not a per-module setting?
[[tool.mypy.overrides]]
# Ignore packages that are not used or not typed
module = [
"smartredis.smartredisPy",
]
ignore_missing_imports = true
ignore_errors = true