-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
147 lines (129 loc) · 3.98 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
[build-system]
requires = ["setuptools>=45", "setuptools-scm[toml]>=7.1"]
build-backend = "setuptools.build_meta"
[project]
name = "lakefs-spec"
description = "An fsspec implementation for lakeFS."
keywords = ["lakeFS", "fsspec"]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "appliedAI Institute for Europe", email = "[email protected]" },
]
maintainers = [
{ name = "Nicholas Junge", email = "[email protected]" },
{ name = "Max Mynter", email = "[email protected]" },
{ name = "Adrian Rumpold", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control",
"Topic :: System :: Filesystems",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"fsspec>=2023.12.0",
"lakefs>=0.2.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/aai-institute/lakefs-spec"
Repository = "https://github.com/aai-institute/lakefs-spec.git"
Issues = "https://github.com/aai-institute/lakefs-spec/issues"
Discussions = "https://github.com/aai-institute/lakefs-spec/discussions"
Documentation = "https://lakefs-spec.org/latest"
[dependency-groups]
dev = [
"build>=0.10.0",
"pre-commit>=3.3.3",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pydoclint",
# for integration tests.
"pandas[parquet]",
"polars",
"duckdb",
"pytest-asyncio>=0.24.0",
]
docs = [
"mkdocs",
"mkdocs-callouts",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-include-dir-to-nav",
"neoteroi-mkdocs",
"mknotebooks",
"jupyter",
"jupytext", # conversion between Jupytext and ipynb notebooks
"black", # formatting of signatures in docs
"mike",
"docstring-parser",
"scikit-learn", # for the data science demo.
"pandas",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
lakefs_spec = ["py.typed"]
# Automatically determine version number from Git tags
[tool.setuptools_scm]
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
disallow_incomplete_defs = true
pretty = true
python_version = "3.10"
strict_optional = false
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["yaml"]
ignore_missing_imports = true
[tool.ruff]
# explicitly set src folder for isort to understand first-party imports correctly.
src = ["src"]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Enable pycodestyle errors & warnings (`E`, `W`), bandit (`S`), Pyflakes (`F`),
# isort (`I`), and pyupgrade (`UP`) by default.
select = ["E", "F", "I", "S", "W", "UP"]
ignore = [
# Line too long
"E501",
# Allow capitalized variable names
"F841",
]
[tool.ruff.lint.per-file-ignores]
# Ignore unused imports in all `__init__.py` files
"__init__.py" = ["F401"]
"docs/tutorials/*.py" = [
"E402",
"S",
] # Imports may appear anywhere in Jupytext notebooks
"tests/**/*.py" = ["S"] # Tests are not security-critical.
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "WARNING"
asyncio_default_fixture_loop_scope = "function"
[tool.pydoclint]
style = 'numpy'
exclude = '\.git|venv'
[tool.coverage.report]
exclude_also = ["@overload", "raise NotImplementedError"]