-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (79 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
96 lines (79 loc) · 2.21 KB
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
[tool.poetry]
name = "bucketbase"
version = "1.5.0" # do not edit manually. kept in sync with `tool.commitizen` config via automation
description = "bucketbase"
authors = ["Andrei Suiu <andrei.suiu@gmail.com>"]
repository = "https://github.com/asuiu/bucketbase"
readme = "README.py.md"
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.10,<4.0.0"
requests = ">=2.25.1"
streamerate = ">=1.2.1"
pyxtension = ">=1.17.1"
StrEnum = ">=0.4.0"
filelock = ">=3.20.0"
minio = { version = ">=7.2.4,<=8.0.0", optional = true }
multiminio = { version = ">=1.0.2", optional = true }
[tool.poetry.extras]
minio = ["minio", "multiminio"]
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.5"
minio = "^7.2.18"
multiminio = "^1.0.2"
tsx = ">=0.2.12"
pyarrow = ">=21.0.0"
twine = ">=6.1.0"
pre-commit = ">=4.3.0"
mypy = "^1.18.2"
psutil = "^7.1.3"
[tool.black]
line-length = 160
include = '\.pyi?$'
default_language_version = '3.10'
[tool.pylint.master]
#ignore="tests,test_integrations"
ignore-patterns = ["test_.*"]
load-plugins = ["pylint.extensions.no_self_use"]
[tool.pylint.messages_control]
disable = ["import-error",
"missing-module-docstring",
"missing-class-docstring",
"invalid-name",
"no-name-in-module",
"missing-function-docstring",
"too-few-public-methods",
"too-many-instance-attributes",
"logging-fstring-interpolation"]
output-format = "colorized"
enable = "useless-suppression"
[tool.pylint.design]
max-line-length = 160
max-locals = 25
max-args = 10
[tool.ruff]
# Enable Pyflakes `E` and `F` codes by default.
select = ["E", "F"]
ignore = ["E501"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["A", "B", "C", "D", "E", "F"]
unfixable = []
[tool.isort]
profile = "black"
known_first_party = ["bucketbase"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.2.3" # do not edit manually. kept in sync with `tool.poetry` config via automation
tag_format = "v$version"
# Same as Black.
line-length = 160
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:"
]
[build-system]
requires = ["poetry>=1.3"]
build-backend = "poetry.masonry.api"