-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (49 loc) · 1.27 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
[tool.poetry]
name = "twitter-timeline-broker"
version = "0.1.0"
description = ""
authors = ["João Esteves <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.79.0"
hypercorn = {extras = ["uvloop"], version = "^0.13.2"}
tortoise-orm = {extras = ["asyncpg"], version = "^0.19.2"}
ulid-py = "^1.1.0"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
flakeheaven = "^2.1.3"
black = "^22.6.0"
mypy = "^0.971"
aerich = "^0.6.3"
pre-commit = "^2.20.0"
hypothesis = "^6.53.0"
mutmut = "^2.4.1"
flake8-length = "^0.3.0"
flake8-bandit = "^3.0.0"
flake8-alfred = "^1.1.1"
flake8-comprehensions = "^3.10.0"
flake8-pytest-style = "^1.6.0"
[tool.aerich]
tortoise_orm = "app.orm_settings.TORTOISE_ORM"
location = "./migrations"
src_folder = "./."
[tool.flakeheaven]
format = "grouped"
max_line_length = 90
show_source = true
[tool.flakeheaven.plugins]
pycodestyle = ["+*", "-E501", "-W505"]
flake8-length = ["+*"]
flake8-bandit = ["+*"]
pyflakes = ["+*"]
mccabe = ["+*"]
flake8-alfred = ["+*"]
flake8-comprehensions = ["+*"]
flake8-pytest-style = ["+*"]
[tool.flakeheaven.exceptions."**/__init__.py"]
pyflakes = ["-F401"]
[tool.flakeheaven.exceptions."tests/"]
flake8-bandit = ["-S101"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"