-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
105 lines (95 loc) · 2.49 KB
/
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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[metadata]
name = staket
version = file: staket/_version.txt
description = Playground for the Staket project
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/tugrulcan/staket
author = Tugrul Can Söllü
author_email = tugrulcansollu@gmail.com
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
keywords = FastAPI
platform = any
project_urls =
Bug Tracker = https://github.com/tugrulcan/staket/issues
Changelog = https://github.com/tugrulcan/staket/blob/master/CHANGELOG.md
[options]
python_requires = >=3.8
[options.package_data]
staket = py.typed, _version.txt, *.pyi
[coverage:report]
show_missing = true
exclude_lines =
pragma: no cover
if False
@abc.abstractmethod
@abc.abstractproperty
raise NotImplementedError
return NotImplemented
[coverage:run]
omit = [
app/db.py,
app/settings.py,
]
concurrency = greenlet
[pydocstyle]
match-dir = (?!tests)(?!resources)(?!docs)[^\.].*
match = (?!test)(?!setup)[^\._].*\.py
inherit = false
ignore = D200, D203, D213, D406, D407 # Google conventions
[flake8]
exclude = .tox, .git, .eggs, __pycache__, tests/, docs/, build/, dist/
doctests = True
enable_extensions = T001
max-complexity = 18
select = B,C,E,F,W,T4,B9
ignore = W503, B008, B902
max-line-length = 79
extend-ignore = E203
per-file-ignores = app/models/__init__.py:F401,migrations/versions/*.py:FKA01
[mypy]
disallow_untyped_defs = True
no_implicit_optional = True
check_untyped_defs = True
warn_return_any = True
warn_unused_ignores = True
show_error_codes = True
disallow_any_generics = True
disallow_subclassing_any = False
disallow_untyped_calls = True
plugins = sqlmypy
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_functions = test_*
addopts =
-ra
--strict-markers
-p pytester
asyncio_mode = auto
[tool:isort]
profile = black
force_single_line = False
line_length = 79
known_first_party = pytest_cov
default_section = THIRDPARTY
forced_separate = test_pytest_cov
skip = .tox,.eggs,ci/templates,build,dist
lines_between_types = 1
combine_as_imports = true
[pycln]
expand_stars = True
verbose = True
all = True
no_gitignore = False