-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (79 loc) · 1.77 KB
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
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.13"
name = "odin"
version = "0.0.1"
description = "MBTA Fare Data Repository Engine"
authors = [
{name = "Ryan Rymarczk", email = "rymarczy@gmail.com"},
]
dependencies = [
"boto3",
"deltalake>=1.5",
"duckdb==1.5.4",
"polars>=1.34",
"psutil",
"pyarrow",
"urllib3==2.3.0",
"tableauhyperapi",
"tableauserverclient",
"pyyaml",
"types-PyYAML",
"sentry-sdk",
]
optional-dependencies.dev = [
"ipykernel",
"mypy",
"pyarrow-stubs",
"pytest",
"ruff",
"types-psutil",
]
[project.scripts]
start-odin = "odin.run:start"
start-log-odin = "odin.utils.run_log_to_file:start_log_file"
[tool.setuptools.package-data]
odin = ["generate/data_dictionary/sql/**/*.sql"]
[tool.pip-tools]
generate-hashes = true
[tool.pytest]
log_level = 20
[tool.mypy]
ignore_missing_imports = true
python_version = 3.13
exclude = [
"src/odin/migrate/migrations/",
]
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py313"
exclude = [
".egg-info",
".git",
".git-rewrite",
".ipynb",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = ["D","E","F","N","W"]
ignore = [
"D100", # Missing docstring in public module
"D203", # conflicts with (D211) `no-blank-line-before-class`
"D212", # conflicts with (D213) `multi-line-summary-second-line`
"D400", # First line should end with a period
"D415", # First line should end with a period, question mark, or exclamation point
"D413", # conflicts with (D412)
]