-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (93 loc) · 2.54 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "checkmk-dev-tools"
version = "0.1.60"
description = "Checkmk DevOps tools"
authors = ["Frans Fürst <frans.fuerst@checkmk.com>"]
repository = "https://github.com/Checkmk/checkmk-dev-tools"
readme = "Readme.md"
packages = [
{include = "cmk_dev/**/*.py"}
]
exclude = ["cmk_dev/out"]
[tool.poetry.scripts]
activity-from-fs = 'cmk_dev.activity_from_fs:main'
binreplace = 'cmk_dev.binreplace:main'
check-rpath = 'cmk_dev.check_rpath:main'
ci-artifacts = 'cmk_dev.ci_artifacts:main'
cmk-dev = 'cmk_dev.cli:main'
cpumon = 'cmk_dev.cpumon:main'
decent-output = 'cmk_dev.decent_output:main'
last-access = 'cmk_dev.last_access:main'
not-picked = 'cmk_dev.not_picked:main'
procmon = 'cmk_dev.procmon:main'
pycinfo = 'cmk_dev.pycinfo:main'
[tool.poetry.dependencies]
python = "^3.10.4" # currently lowest supported Python version (CI Build Nodes)
python-jenkins = "^1"
pyyaml = "^6.0"
pydantic = "^2"
rich = "*"
trickkiste = "^0.0.9"
# trickkiste = {path = "../../_HOME/trickkiste", develop = true}
[tool.poetry.group.dev.dependencies]
black = "*"
isort = "*"
flake8 = "*"
pytest = "*"
mypy = "*"
pylint = "*"
twine = "*"
yamllint = "*"
pytest-cov = "*"
types-pyyaml = "*"
types-requests = "*"
types-aiofiles = "*"
pre-commit = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
fast = true
exclude = '''
(
/( # exclude a few common directories in the
\.git # root of the project
| \.pytest_cache
| untracked
| \.venv
| \.container_home_dir
| dist
))
'''
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.11"
strict="True"
disallow_untyped_defs = "True"
disallow_any_unimported = "True"
no_implicit_optional = "True"
check_untyped_defs = "True"
warn_return_any = "True"
warn_unused_ignores = "True"
show_error_codes = "True"
exclude = []
mypy_path="typeshed"
[tool.pylint]
#ignore = [".venv", "untracked"]
# Files or directories matching the regular expression patterns are skipped. The
# regex matches against base names, not paths. The default value ignores Emacs
# file locks
#ignore-patterns = ["^\\.#"]
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use, and will cap the count on Windows to
# avoid hangs.
jobs = 0
# see above: not available for Python <3.9
#[tool.pylint.MASTER]
#load-plugins=["pylint_per_file_ignores"]
#[tool.pylint-per-file-ignores]
#"pocketrockit/examples/" = "invalid-name"