-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
76 lines (61 loc) · 1.71 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
[tool.poetry]
name = "click-params"
version = "0.5.0"
description = "A bunch of useful click parameter types"
authors = ["lewoudar <lewoudar@gmail.com>"]
license = "Apache-2.0"
readme = "README.md"
keywords = ["click", "params", "validators", "network", "cli"]
homepage = "https://click-params.readthedocs.io/en/stable"
repository = "https://github.com/click-contrib/click_params"
documentation = "https://click-params.readthedocs.io/en/stable"
classifiers = [
"Intended Audience :: Developers",
"Topic :: Terminals",
"Operating System :: OS Independent",
"Programming Language :: Python :: Implementation :: PyPy"
]
packages = [
{ include = "click_params" }
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/click-contrib/click_params/issues"
[tool.poetry.dependencies]
python = "^3.8.1"
click = ">=7.0, <9.0"
validators = "^0.28.0"
deprecated = "^1.2.14"
[tool.poetry.group.dev.dependencies]
pre-commit = "^2.17.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.0.0"
pytest-cov = "^4.0.0"
pytest-mock = "^3.10.0"
nox = "^2023.4.22"
[tool.poetry.group.lint.dependencies]
bandit = "^1.6.2"
ruff = "^0.1.6"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.0.0"
[tool.poetry.group.audit.dependencies]
safety = "^2.3.0"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=click_params --cov-report html --cov-report xml --cov-report term"
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
"I", # isort
"S", # flake8-bandit
"B", # flake8-bugbear
"C90", # McCabe complexity
"RUF"
]
[tool.ruff.format]
quote-style = "single"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"