-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
67 lines (59 loc) · 1.2 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tool.poetry]
name = "fastapi_auth"
version = "0.1.0"
description = ""
license = "MIT"
authors = ["David Montague <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.6"
fastapi = "~0.45"
pydantic = { version = "^1.0" }
async-exit-stack = {version = "1.0.1", python="<3.7"}
async-generator = {version = "1.10", python="<3.7"}
typing_extensions = "*"
sqlalchemy = "*"
python-multipart = "*"
pyjwt = "*"
[tool.poetry.dev-dependencies]
# Runtime optional
bcrypt = "*"
argon2-cffi = "*"
psycopg2-binary = "*"
aiofiles = "*"
email-validator = "*"
# For starlette TestClient
requests = "*"
# Testing
pytest = "*"
pytest-cov = "*"
pytest-asyncio = "*"
coverage = "*"
# Static
isort = "*"
autoflake = "*"
black = { version = "*", allow-prereleases = true }
flake8 = "*"
mypy = "0.740" # Required for compatibility with current pydantic release
sqlalchemy-stubs = "*"
[tool.black]
line-length = 120
target_version = ['py37']
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.mypy_cache
| \.pytest_cache
| htmlcov
| build
)/
)
'''
[tool.isort]
line_length = 120
known_first_party = ["fastapi_auth"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true