-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
87 lines (73 loc) · 2.2 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "shelf"
description = "A type-aware, fsspec-backed general artifact store."
keywords = ["ml-ops", "fsspec", "python"]
requires-python = ">=3.9"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [{ name = "Nicholas Junge", email = "[email protected]" }]
maintainers = [
{ name = "Nicholas Junge", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"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 :: System :: Filesystems",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = ["fsspec"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/nicholasjng/shelf"
Repository = "https://github.com/nicholasjng/shelf.git"
Issues = "https://github.com/nicholasjng/shelf/issues"
[project.optional-dependencies]
dev = [
"build>=1.0.0",
"pre-commit>=3.3.3",
"pytest>=7.4.0",
]
[tool.setuptools]
package-dir = { "" = "src" }
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
shelf = ["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]
src = ["src"]
line-length = 100
target-version = "py311"
# pycodestyle (`E`, `W`), isort (`I`), and Pyflakes (`F`) codes.
select = ["E", "F", "I", "W"]
ignore = [
"E501", # Line too long
]
# Ignore `F401` (unused imports) in all `__init__.py` files
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]