-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (95 loc) · 2.48 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[tool.poetry]
name = "reportbro_designer_api"
version = "0.1.0"
description = ""
authors = ["ppolxda"]
packages = [{ include = "reportbro_designer_api" }]
include = ["status/*"]
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
fastapi = "^0.104.0"
uvicorn = { extras = ["standard"], version = "^0.23.2" }
pycryptodome = "^3.14.1"
python-dateutil = "^2.8.2"
pyhumps = "^3.7.1"
pytz = "^2022.1"
python-jose = { extras = ["cryptography"], version = "^3.3.0" }
gunicorn = "^20.1.0"
sqlalchemy = { extras = ["asyncio"], version = "^2.0.15" }
boto3 = "^1.24.34"
shortuuid = "^1.0.9"
jinja2 = "^3.1.2"
pypdf2 = "^2.8.1"
filetype = "^1.1.0"
requests = "^2.28.1"
pymysql = "^1.0.3"
aiomysql = "^0.1.1"
alembic = "^1.11.1"
aioboto3 = "^11.2.0"
charset-normalizer = "^3.1.0"
aiosqlite = "^0.19.0"
psycopg2-binary = "^2.9.6"
aiopg = "^1.4.0"
asyncpg = "^0.27.0"
pydantic-settings = "^2.0.3"
pydantic = "^2.4.2"
aiohttp = "^3.9.3"
reportbro-lib = {path = "reportbro-lib", develop = true}
[tool.poetry.group.dev.dependencies]
pydocstyle = { extras = ["toml"], version = "^6.1.1" }
pycodestyle = "^2.8.0"
flake8 = "^6.0.0"
pylint = "^2.13.9"
pytest = "^7.3.2"
pytest-asyncio = "^0.18.3"
pytest-mock = "^3.7.0"
aioresponses = "^0.7.3"
flake8-docstrings = "^1.7.0"
pep8-naming = "^0.12.1"
pytest-httpx = "^0.21.0"
boto3-stubs = { extras = ["essential"], version = "^1.24.35" }
types-aioboto3 = { extras = ["essential"], version = "^11.2.0" }
fonttools = "^4.34.4"
anyio = "^3.7.0"
pytest-twisted = "^1.14.0"
twisted = "^22.10.0"
pyright = "^1.1.302"
pre-commit = "^3.2.2"
pre-commit-hooks = "^4.4.0"
autoflake = "^2.1.1"
ruff = "^0.8.0"
[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple"
priority = "default"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
ignore = ["depends", "**/otf2ttf.py"]
[tool.pyright]
include = ["reportbro_designer_api"]
exclude = [
"**/node_modules",
"**/__pycache__",
# "src/typestubs"
]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.8"
[tool.pydocstyle]
ignore = ["D100", "D212", "D203", "D104", "D213", "D401"]
[tool.bandit]
targets = ["reportbro_designer_api"]
skips = ["B404"]
[tool.pylint]
disable = ["W0703", "C3001"]
[tool.pylint.'MESSAGES CONTROL']
extension-pkg-whitelist = ["pydantic", "lxml"]
[tool.poetry.scripts]
build = "scripts.run:build"
check = "scripts.run:check"
export = "scripts.run:export"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"