-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (68 loc) · 2.03 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
[tool.black]
# https://www.python.org/dev/peps/pep-0008/#maximum-line-length
line-length = 79
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
[tool.pytest.ini_options]
addopts = "--cov --cov-report=term --cov-report=xml"
[tool.bandit.assert_used]
skips = ['**/*_test.py', '**/test_*.py']
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pylint."MESSAGES CONTROL"]
disable = ["import-error"]
[tool.pylint."BASIC"]
good-names-rgxs = "[_A-Za-z_][_A-Za-z0-9]?"
# https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#good-names-rgxs
# https://github.com/PyCQA/pylint/pull/3186
# https://github.com/PyCQA/pylint/issues/3086
# https://github.com/PyCQA/pylint/issues/2970
# https://github.com/PyCQA/pylint/issues/2018
# https://stackoverflow.com/a/66784120
[tool.pyright]
reportMissingImports = false
reportMissingModuleSource = false
[tool.poetry]
name = "bumplus"
version = "0.12.0"
description = "Bump the version in the project files."
authors = ["Wade Zhang <[email protected]>"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/dochang/bumplus"
repository = "https://github.com/dochang/bumplus"
classifiers = ["Operating System :: OS Independent"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/dochang/bumplus/issues"
[tool.poetry.dependencies]
python = "^3.9.0"
pytoml = "^0.1.21"
jinja2 = "^3.1.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
twine = "^5.0.0"
tox = "^4.7.0"
flake8 = "^7.0.0"
flake8-black = "^0.3.6"
isort = "^5.12.0"
flake8-isort = "^6.0.0"
flake8-bugbear = "^24.0.0"
invoke = "^2.2.0"
build = "^1.0.0"
poethepoet = "^0"
[tool.poetry.scripts]
bumplus = "bumplus:main"
[tool.poe.tasks]
lint = "python3 -m flake8"
test = "python3 -m pytest"
package = "python3 -m build"
clean = "invoke clean"
check-package = "twine check dist/*"
publish = "twine upload dist/*"
test-publish = "twine upload --repository-url https://test.pypi.org/legacy/ dist/*"