-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
51 lines (44 loc) · 1.44 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --durations=0 --cov-report xml:coverage.xml --cov PIconnect"
[tool.ruff]
line-length = 95
exclude = ["build", "dist", "docs", "venv"]
[tool.ruff.lint]
# See: https://docs.astral.sh/ruff/rules/
select = [
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PT", # pytest-style
"D", # pydocstyle
"B", # flake8-bugbear
"NPY", # numpy
]
# ignore = [
# "D100", # Missing docstring in public module
# "E501", # Line too long
# "D101", # Missing docstring in public class
# "D102", # Missing docstring in public method
# "D103", # Missing docstring in public function
# "D104", # Missing docstring in public package
# "D105", # Missing docstring in magic method
# "D205", # 1 blank line required between summary line and description
# "D401", # First line of docstring should be in imperative mood
# "E741", # Ambiguous variable name (such as "l")
# ]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.bumpversion]
current_version = "0.12.1"
tag = false
commit = true
message = "chore: Bump version: {current_version} → {new_version}"
[[tool.bumpversion.files]]
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
filename = "PIconnect/__init__.py"