-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
118 lines (104 loc) · 2.7 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
[project]
name = "dummio"
version = "1.9.2"
description = "Easiest-possible IO for basic file types."
authors = [{ name = "Zach Kurtz", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"universal-pathlib>=0.2.5",
]
[project.urls]
Source = "https://github.com/zkurtz/dummio"
[dependency-groups]
dev = [
"pre-commit >=3.8.0",
"pyright >=1.1.378",
"ruff >=0.7.4",
"pytest >=8.3.2",
"scikit-learn >=1.0.2",
"skl2onnx >=1.10.1",
"bump-my-version>=0.30.0",
]
azure = [
"adlfs>=2024.12.0",
"azure-storage-blob>=12.24.1",
]
pandas = [
"pyarrow>=18.1.0",
"fastparquet>=2024.11.0",
"pandas>=1.5.0",
"pandahandler>=0.5.4",
]
extras = [
"onnx>=1.10.1",
"pydantic>=2.10.2",
"dill>=0.2.2",
"click>=8.1.8",
"gcsfs>=2024.12.0",
"s3fs>=2024.12.0",
"ruamel-yaml>=0.18.10",
"mashumaro>=3.15",
"pyyaml>=6.0.2",
]
[tool.uv]
package = true
[tool.bumpversion]
current_version = "1.9.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = "--no-verify"
setup_hooks = []
pre_commit_hooks = []
post_commit_hooks = []
[[tool.bumpversion.files]]
filename = "pyproject.toml"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["dummio"]
[tool.hatch.build.targets.wheel]
packages = ["dummio"]
[tool.pytest.ini_options]
testpaths = ["tests",]
[tool.pyright]
include = ["dummio", "tests"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# ruff defaults:
"E4", "E7", "E9", "F",
# pycodestyle line formatting including line length
"E5",
# additional rule groups:
"I", # flake8-import-order
"TID", # flake8-tidy-imports
"D", # google-style docstrings
]
ignore = [
"D202", # would require one blank line after the last section of a multi-line docstring
"D203", # would require one blank line at start of class docstring
"D213", # would require multi-line docstring to start with a hard return
"D401", # would require imperative mood in docstring
"D413", # would put blank line at end of each multiline docstring
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["D104"] # would require module-level documentation
"test_*.py" = ["D"] # would put requirements on docstrings in test files