forked from ramnes/notion-sdk-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
36 lines (32 loc) · 968 Bytes
/
setup.cfg
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
[bdist_wheel]
universal=1
[tool:pytest]
minversion = 6.0
addopts = --cov=./notion_client --cov-report=term-missing --cov-report=xml --cov-report=html
asyncio_mode = auto
[flake8]
max-line-length = 89
[mypy]
files = notion_client
# --strict
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
implicit_reexport = False
strict_equality = True
# --strict end
[pydocstyle]
ignore = D101, D105, D107, D203, D212, D213, D214, D215, D404, D405, D406, D407, D408, D409, D410, D411, D413, D415, D416, D417
ignore-decorators = property
# D101: Missing docstring in public class
# D105: Missing docstring in magic method
# D107: Missing docstring in __init__
# rest of the ignored errors are pep257 defaults