-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
126 lines (115 loc) · 3 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 88
[tool.commitizen]
name = "cz_conventional_commits"
version = "24.2.0"
version_files = [
"pyproject.toml:version"
]
tag_format = "v$version"
[tool.flakeheaven]
format = "grouped"
max_line_length = 88
show_source = true
[tool.flakeheaven.exceptions."*/__init__.py"]
pyflakes = ["-F401"]
[tool.flakeheaven.plugins]
"*" = ["+*"]
flake8-bugbear = ["+*", "-B019"]
pycodestyle = ["+*", "-E203", "-E501", "-W503"]
[tool.isort]
line_length = 88
multi_line_output = 3
balanced_wrapping = true
atomic = true
lines_after_imports = 2
lines_between_types = 1
combine_star = true
include_trailing_comma = true
use_parentheses = true
known_first_party = "cmk"
known_third_party = []
known_logging = "logging"
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER", "LOGGING"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
warn_unused_configs = true
[tool.poetry]
authors = ["NimVek <NimVek@users.noreply.github.com>"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Natural Language :: English",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Development Status :: 3 - Alpha",
"Topic :: System :: Monitoring",
"Topic :: Software Development :: Libraries :: Python Modules"
]
description = "API for CheckMK"
license = "GPL-3.0-or-later"
name = "python-cmk"
readme = "README.md"
repository = "https://github.com/NimVek/python-cmk"
version = "24.2.0"
packages = [
{include = "cmk", from = "src"}
]
[tool.poetry.dependencies]
incremental = "^24.7.2"
python = "^3.8.2"
requests = "^2.32.3"
furl = "^2.1.3"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
commitizen = "^3.28.0"
flakeheaven = "^3.3.0"
flake8-broken-line = "^0.6.0"
flake8-bugbear = "^23.3.12"
flake8-builtins = "^2.5.0"
flake8-comprehensions = "^3.15.0"
flake8-eradicate = "^1.4.0"
flake8-logging-format = "^0.9.0"
flake8-simplify = "^0.21.0"
flake8-tidy-imports = "^4.10.0"
flake8-type-checking = "^2.9.1"
flake8-use-fstring = "^1.4"
ipython = "^8.11.0"
mkdocs = "^1.6.0"
mkdocs-material = "^9.5.30"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"
mkdocstrings = "^0.25.2"
mkdocstrings-python = "^1.8.0"
mypy = "^1.11.0"
pre-commit = "^3.2.0"
pytest = "^7.4.4"
pytest-annotate = "^1.0.5"
pytest-cov = "^5.0.0"
pytest-randomly = "^3.15.0"
pytest-xdist = "^3.6.1"
toml-sort = "^0.23.1"
types-requests = "^2.32.0.20240712"
GitPython = "^3.1.43"
ruff = "^0.5.5"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
markers = ["docker"]
log_cli = true
log_cli_level = "DEBUG"