-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.41 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
[tool.poetry]
name = "cubic_loader"
version = "0.1.0"
description = "MBTA Application for Archiving Cubic Data in Postgres"
authors = [
"MBTA CTD <developer@mbta.com>",
"Ryan Rymarczyk <rrymarczyk@mbta.com>",
"Mike Zappitello <mzappitello@mbta.com>"
]
[tool.poetry.dependencies]
python = "^3.12"
sqlalchemy = {extras = ["mypy"], version = "^2.0.23"}
alembic = "^1.12.1"
boto3 = "^1.35.5"
psycopg2 = "^2.9.9"
requests = "^2.31.0"
polars = "^1.5.0"
psutil = "^6.0.0"
[tool.poetry.scripts]
start = 'cubic_loader.pipeline:main'
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
mypy = "^1.11.2"
pylint = "^3.2.6"
pytest = "^8.3.2"
ipykernel = "^6.29.5"
types-requests = "^2.32.0.20240712"
types-python-dateutil = "^2.9.0.20240821"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py312']
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
pretty = true
python_version = 3.12
warn_unreachable = true
warn_unused_ignores = true
[tool.pylint]
disable = [
# disable doc string requirements
"missing-module-docstring",
# allow catching a generic exception
"broad-except",
# we're logging everything so its "ok"
"lost-exception",
# caught by black
"line-too-long",
]
good-names = ["e", "i", "s"]
max-line-length = 120
min-similarity-lines = 10
# ignore the alembic directory.
ignore-paths = ["^src/alembic/.*$"]