This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
167 lines (153 loc) · 3.1 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[tool.poetry]
name = "dagster-polars"
version = "0.0.0"
description = "Dagster integration library for Polars"
authors = [
"Daniel Gafni <danielgafni16@gmail.com>"
]
readme = "README.md"
packages = [{include = "dagster_polars"}]
repository = "https://github.com/danielgafni/dagster-polars"
keywords = [
"dagster",
"polars",
"ETL",
"dataframe",
]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.8"
dagster = "^1.5.1"
polars = ">=0.20.0"
pyarrow = ">=8.0.0"
typing-extensions = "^4.7.1"
deltalake = { version = ">=0.15.0", optional = true }
dagster-gcp = { version = ">=0.19.5", optional = true }
universal-pathlib = "^0.1.4"
# pinned due to Dagster not working with Pendulum < 3.0.0
# TODO: remove once Dagster supports Pendulum 3.0.0
pendulum = "<3.0.0"
[tool.poetry.extras]
gcp = ["dagster-gcp"]
deltalake = ["deltalake"]
[tool.poetry.group.dev.dependencies]
hypothesis = "^6.89.0"
pytest = "^7.3.1"
deepdiff = "^6.3.0"
ruff = "^0.1.3"
pyright = "^1.1.313"
tox = "^4.6.0"
tox-gh = "^1.0.0"
pre-commit = "^3.3.2"
dagit = "^1.3.9"
black = "^23.3.0"
pytest-cases = "^3.6.14"
blacken-docs = "^1.16.0"
pytest-rerunfailures = "^12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
strict = false
vcs = "git"
style = "pep440"
dirty = true
bump = true
metadata = false
[tool.poetry-dynamic-versioning.substitution]
files = [
"pyproject.toml",
"dagster_polars/version.py"
]
[tool.pytest.ini_options]
log_cli = true
log_level = "INFO"
[tool.black]
line-length = 120
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.ruff_cache
| \.venv
| build
| dist
)/
'''
[tool.ruff]
extend-select = ["I"]
line-length = 120
src = [
"dagster_polars",
"tests"
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.isort]
known-first-party = ["dagster_polars", "tests"]
[tool.pyright]
reportPropertyTypeMismatch = true
reportImportCycles = true
reportWildcardImportFromLibrary = true
reportUntypedFunctionDecorator = true
reportUntypedClassDecorator = true
reportUnnecessaryTypeIgnoreComment = "warning"
include = [
"dagster_polars",
"tests"
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]