-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (72 loc) · 1.82 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "dating_app"
version = "0.1.0"
description = ""
authors = ["Humzah Javid <[email protected]>"]
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
exclude = [
'mongodb/'
]
[[tool.mypy.overrides]]
module = [ "uvicorn", "requests", "motor", "motor.motor_asyncio", "bson",]
ignore_missing_imports = true
[tool.isort]
profile = "black"
skip = [ "build_seq.py", "conf.py",]
float_to_top = true
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.75.0"
Jinja2 = "^3.1.1"
toml = "^0.10.2"
anybadge = "^1.9.0"
motor = "^2.5.1"
python-multipart = "^0.0.5"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
flake8 = "^4.0.1"
isort = "^5.10.1"
mypy = "^0.942"
mypy-extensions = "^0.4.3"
pre-commit = "^2.18.1"
pylint = "^2.13.3"
pytest = "^7.1.1"
regex = "^2021.11.10"
tox = "^3.24.5"
colorama = "^0.4.4"
requests = "^2.27.1"
pytest-env = "^0.6.2"
flake8-formatter-junit-xml = "^0.0.6"
pytest-cov = "^3.0.0"
pytest-json-report = "^1.5.0"
email-validator = "^1.1.3"
[tool.pylint.master]
persistent = "yes"
extension-pkg-whitelist="pydantic"
[tool.pylint.messages_control]
max-line-length = 88
disable = [ "wrong-hanging-indentation", "bad-whitespace",]
output-format = "colorized"
ignored_modules = [ "fpdf",]
[tool.pylint.basic]
good-names = [ "i", "j", "k", "e", "df", "n", "t",]
[tool.pytest.ini_options]
env = [ "PY_COLORS = 1",]
norecursedirs = "mongodb/*"
[tool.poetry.dependencies.uvicorn]
extras = [ "standard",]
version = "^0.17.6"
[tool.poetry.dev-dependencies.hooks]
git = "https://github.com/stfc/pre-commit-hooks"
tag = "v0.3.0"
[tool.poetry.dev-dependencies.tox-poetry-installer]
extras = [ "poetry",]
version = "^0.8.3"