forked from uriyyo/fastapi-pagination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
31 lines (28 loc) · 763 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
[flake8]
ignore = D,WPS,C,F,E,B
exclude = .git,__pycache__,build,dist
max-line-length = 120
[isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
known_third_party = databases,faker,fastapi,gino,gino_starlette,nest_asyncio,orm,ormar,pydantic,pytest,sqlalchemy,tortoise,typing_extensions,uvicorn
[mypy]
python_version = 3.7
plugins = pydantic.mypy,sqlmypy
show_column_numbers = True
follow_imports = normal
ignore_missing_imports = True
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_untyped_defs = True
check_untyped_defs = True
[coverage:report]
exclude_lines =
pragma: no cover
@abstractmethod
if TYPE_CHECKING: