forked from k4black/fastapi-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
110 lines (100 loc) · 3.04 KB
/
setup.cfg
File metadata and controls
110 lines (100 loc) · 3.04 KB
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
106
107
108
109
110
[metadata]
name = fastapi-jwt
version = file: VERSION
author = Konstantin Chernyshev
author_email = kdchernyshev@gmail.com
description = `FastAPI` extension for JTW Auth
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/k4black/fastapi-jwt
classifiers =
Intended Audience :: Developers
Intended Audience :: Information Technology
Operating System :: OS Independent
Topic :: Internet
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Libraries
Topic :: Software Development
Typing :: Typed
Development Status :: 4 - Beta
Environment :: Web Environment
Intended Audience :: Developers
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[options]
packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
fastapi >=0.50.0
python-jose[cryptography] >=3.3.0
[options.package_data]
fastapi-jwt = py.typed
[options.packages.find]
exclude =
tests*
[bdist_wheel]
python-tag=py3
[options.extras_require]
test =
pytest >=6.0.0,<7.0.0
pytest-cov >=3.0.0,<4.0.0
pytest-mock >=3.0.0,<4.0.0
requests >=2.25.0,<3.0.0
black ==21.11b1
mypy >=0.910
flake8 >=4.0.0,<8.0.0
isort >=5.10.1,<6.0.0
docs =
mkdocs >=1.2.0,<2.0.0
mkdocs-material >=8.0.0,<9.0.0
MkAutoDoc >=0.1.0,<1.0.0
lazydocs >=0.4.5,<1.0.0
mkdocs-include-markdown-plugin >=3.2.0,<4.0.0
mkdocs-awesome-pages-plugin >=2.6.0,<3.0.0
mike >=1.1.0,<2.0.0
[flake8]
# classes can be lowercase, arguments and variables can be uppercase
# whenever it makes the code more readable.
max-line-length = 120
doctests = True
max-doc-length = 120
exclude = test_*.py
exclude-from-doctest = test_*.py
max-complexity = 10
enable-extensions = pep8-naming,flake8-debugger,flake8-docstrings
;extend-ignore =
; D102, # Missing docstring in public method
; D104, # Missing docstring in public package
; D105, # Missing docstring in magic method
; D107, # Missing docstring in __init__
; D401, # First line should be in imperative mood; try rephrasing
; D412, # No blank lines allowed between a section header and its content
; E741, # ambiguous variable name '...'
; E742, # ambiguous class definition '...'
; F821, # undefined name '...'
[mypy]
ignore_missing_imports = True
no_incremental = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_subclassing_any = False
disallow_any_generics = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_unreachable = True
allow_untyped_decorators = True
[tool:pytest]
testpaths = tests/
python_files = test_*.py
addopts = --cov=fastapi_jwt/ --cov-report term-missing
[isort]
line_length=120
combine_as_imports = true
default_section = THIRDPARTY
known_first_party=fastapi-jwt,tests
profile = black