-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (72 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
76
77
78
79
80
81
[tool.poetry]
name = "wat"
version = "0.1.0"
description = ""
authors = ["Tom Faulkner <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.101.0"
dynaconf = "^3.1.9"
uvicorn = "^0.22.0"
edgedb = "^1.3.0"
httpx = "^0.23.3"
jinja2 = "^3.1.2"
arq = "^0.25.0"
redis = "^4.5.5"
pyjwt = "^2.7.0"
cryptography = "^41.0.1"
pydantic = "1.10.12"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
flake8 = "^6.0.0"
black = "^23.1.0"
flake8-pyproject = "^1.2.3"
pytest = ">=7"
pre-commit = "^2.20.0"
pytest-asyncio = "^0.19.0"
pytest-httpx = "^0.21.3"
invoke = "^2.0.0"
ruff = "^0.0.261"
ssort = "^0.11.6"
watchfiles = "^0.19.0"
pytest-bdd = "^6.1.1"
bump-pydantic = "^0.6.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.plugins."wat.modules"]
# when making changes to this you must rerun poetry install
"attribs" = "wat.views.attribs"
"callback" = "wat.views.callback"
"ingestion" = "wat.views.ingestion"
"interactive" = "wat.views.interact"
"manual_exec" = "wat.views.manual_exec"
"version" = "wat.views.version"
"workflows" = "wat.views.workflows"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.flake8]
max-line-length = 88
[tool.ruff]
line-length = 88
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # bugbear
# "D", # pydocstyle
"TRY", # tryceratops
"RUF",
"PGH", # pygrep
"PTH", # pathlib
"SIM", # simplify
]
target-version = "py311"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402"]
"src/wat/views/*.py" = ["B008"] # Do not perform function call 'Depends' in argument defaults
# TODO: fix these
"tasks.py" = ["PGH004", "PTH123", "PGH004"]