-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (67 loc) · 1.71 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
[tool.poetry]
name = "spectratrace"
version = "0.1.0"
description = "SpectraTrace is an audit log service with the ability to store, trace, and analyze a broad spectrum of events, enabling deep insights and comprehensive analysis."
authors = ["rifatrakib <Rakib.1508@outlook.com>"]
license = "Apache License 2.0"
[tool.poetry.dependencies]
python = "^3.9"
fastapi = {extras = ["all"], version = "^0.96.0"}
pydantic = {extras = ["dotenv", "email"], version = "^1.10.8"}
sqlmodel = "^0.0.8"
python-decouple = "^3.8"
redis = "^4.5.5"
pydash = "^7.0.4"
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
typer = "^0.9.0"
pytest = "^7.3.1"
coverage = "^7.2.7"
asyncpg = "^0.27.0"
influxdb-client = "^1.36.1"
urllib3 = "1.26.0"
requests = "^2.31.0"
psycopg2-binary = "^2.9.6"
celery = {extras = ["redis"], version = "^5.3.0"}
[tool.poetry.dev-dependencies]
pre-commit = "^3.3.2"
black = "^23.3.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
ruff = "^0.0.270"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.flake8]
max-line-length = 120
exclude = [".git", "__pycache__", "dist"]
max-complexity = 10
[tool.isort]
atomic = true
include_trailing_comma = true
profile = "black"
line_length = 120
skip_gitignore = true
[tool.ruff]
line-length = 120
exclude = [".git", "__pycache__", "dist"]
target-version = "py39"
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.mccabe]
max-complexity = 10