-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (47 loc) · 1.04 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
# https://github.com/psf/black
[tool.black]
target-version = ["py39"]
color = false
line-length = 120
exclude = '''
/(
\.git
| \.mypy_cache
| \.tox
| \.venv
| build
| venv
)/
'''
[tool.mypy]
mypy_path = "monolg"
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
# check_untyped_defs = false
# disallow_any_generics = true
# ignore_missing_imports = true
# no_implicit_optional = true
# show_error_codes = true
# strict_equality = true
# warn_redundant_casts = true
# warn_return_any = true
# warn_unreachable = true
# warn_unused_configs = true
# no_implicit_reexport = true
[tool.pytest.ini_options]
addopts = [
"--ignore=tests/test_monolg.py"
]
filterwarnings = [
"ignore::DeprecationWarning"
]
markers = [
"schema : Schema related tests",
"configs : Tests for all available config keys",
"utils : Utility tests",
"monolg : Tests for the Monolg class",
"unavailable : MongoDB is unavailable",
"available : MongoDB is available"
]