-
Notifications
You must be signed in to change notification settings - Fork 53
/
pyproject.toml
63 lines (53 loc) · 1.2 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
[tool.poetry]
name = "twfy-tools"
version = "0.1.0"
description = ""
authors = ["Alex Parsons <alex.parsons@mysociety.org>"]
readme = "README.md"
packages = [{include = "twfy_tools", from = "src"}]
[tool.poetry.dependencies]
python = "^3.9"
rich-click = "1.7.4"
pandas = "2.2.1"
pyarrow = "15.0.2"
mysqlclient = "2.2.4"
pyyaml = "6.0.1"
commonlib = {path = "commonlib"}
pydantic = "^2.8.2"
sqlalchemy = "^2.0.32"
django = ">=4.2,<5.0"
mailchimp-marketing = {git = "https://github.com/mailchimp/mailchimp-marketing-python.git"}
typer = "^0.15.1"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.1"
[tool.poetry.scripts]
contact-io = "twfy_tools.utils.contact_io:app"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-exclude = ["migrations", "commonlib", "scripts/historic"]
[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"]