forked from aai-institute/lakefs-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
141 lines (123 loc) · 3.83 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
[build-system]
requires = ["setuptools>=45", "setuptools-scm[toml]>=7.1", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lakefs-spec"
description = "An fsspec implementation for lakeFS."
keywords = ["lakeFS", "fsspec"]
requires-python = ">=3.9"
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.6.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"
[project.optional-dependencies]
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",
]
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",
"appnope", # required only on Darwin, but need to include in lockfile
]
[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.11"
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
[tool.ruff.lint]
# Enable pycodestyle errors & warnings (`E`, `W`), Pyflakes (`F`), and isort (`I`) by default.
select = ["E", "F", "I", "W"]
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",
] # Imports may appear anywhere in Jupytext notebooks
[tool.bandit]
exclude_dirs = ["tests", "docs/tutorials"]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "WARNING"
[tool.pydoclint]
style = 'numpy'
exclude = '\.git|venv'
[tool.coverage.report]
exclude_also = [
"@overload",
"raise NotImplementedError"
]