-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
58 lines (51 loc) · 1.27 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
[tool.black]
line-length = 180
[tool.flake8]
max-line-length = 172
ignore = "E203"
[tool.ruff]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"C", # flake8-comprehensions
]
line-length = 172
# Allow unused variables when underscore-prefixed.
ignore = [
"E501",
"C408", # Unnecessary dict call - rewrite as a literal.
"C901", # Function is too complex
"C416", # Unnecessary list comprehension
]
[tool.poetry]
name = "pdh"
version = "0.8.0"
description = "Pagerduty CLI for Humans"
authors = ["Manuel Bovo <manuel.bovo@gmail.com>"]
license = "GPL-3.0-or-later"
repository = "https://github.com/mbovo/pdh"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
click = "^8.1.7"
colorama = "^0.4.6"
pdpyras = "^5.4.0"
rich = "^13.9.4"
PyYAML = "^6.0.2"
humanize = "^4.10.0"
jsonpath-ng = "^1.7.0"
deprecation = "^2.1.0"
setuptools = "^72.1.0" # needed for poetry2nix and nix build since the provided version by nixpkgs unstable is still 72.x
dikdik = "^0.1.6"
[tool.poetry.scripts]
pdh = "pdh.main:main"
[tool.poetry.group.dev.dependencies]
pylint = "^3.3.1"
black = "^24.10.0"
pytest = "^8.3.3"
pytest-cov = "^4.0.0"
pytest-mock = "^3.14.0"
ruff = "^0.8.4"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"