-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (73 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
82
[tool.poetry]
name = "twfy-votes"
version = "0.1.0"
description = "Django app for storing and querying TheyWorkForYou votes"
authors = ["Alex Parsons <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.11"
django = ">=4.2,<5.0"
pydantic = "^2.8.2"
django-compressor = "^4.5.1"
django-libsass = "^0.9"
django-environ = "^0.11.2"
psycopg2 = "^2.9.9"
pandas = "^2.2.2"
pyarrow = "^17.0.0"
duckdb = "^1.2.0"
httpx = "^0.27.2"
ruamel-yaml = "^0.18.6"
rich = ">=12.0.0"
jinja2 = "^3.1.4"
aioduckdb = "^0.1.0"
jinjasql = { git = "https://github.com/yakhu/jinjasql.git", rev = "f8c62d1bea97d0320bb3676f4f83bd2357ccfe55" }
markupsafe = "2.0.1"
tqdm = "^4.66.5"
typer = "^0.12.5"
mysoc-validator = "^0.2.1"
trogon = "^0.5.0"
django-ninja = "^1.3.0"
markdown = "^3.7"
bs4 = "^0.0.2"
django-debug-toolbar = "^4.4.6"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.2"
pgcli = "^4.1.0"
pandas-stubs = "^2.2.2.240807"
pytest = "^8.3.2"
pytest-django = "^4.9.0"
djlint = "^1.35.2"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "twfy_votes.settings"
filterwarnings = "ignore::DeprecationWarning"
[tool.djlint]
blank_line_after_tag = "endblock"
blank_line_before_tag = "load,extends,include,block"
format_js = true
format_css = true
custom_blocks = "markdown,switch,case,featureflag,draft"
[tool.ruff]
extend-exclude = ["migrations"]
[tool.ruff.lint]
select = [
"E",
# flake8
"F",
# isort
"I",
]
ignore = [
# line too long, sorted with formatter where it can be
"E501",
]
[tool.ruff.lint.isort]
known-first-party = ["hub"]
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
django = ["django"]