Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (48 loc) · 1.65 KB
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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "polymath-code-standard"
version = "2.6.1"
description = "Polymath Code Standard pre-commit hooks"
requires-python = ">=3.10"
dependencies = [
"lxml>=5.0.0",
"check-json5 @ git+https://gitlab.com/bmares/check-json5.git@v1.0.0",
"clang-format==19.1.7",
"cmakelint==1.4.3",
"cpplint==2.0.0",
"hadolint-py @ git+https://github.com/AleksaC/hadolint-py.git@v2.14.0",
"identify==2.6.18",
"nodejs-wheel==24.19.0",
"pre-commit-hooks==5.0.0",
"pymarkdownlnt==0.9.28",
"rapidfuzz==3.13.0",
"ruff==0.11.5",
"ruyaml>=0.91.0",
"shellcheck-py==0.10.0.1",
"yamlfix==1.19.1",
"ansible-lint==25.2.1",
]
[tool.setuptools.package-data]
"polymath_code_standard.checkers.ansible" = ["ansible-lint.yml"]
"polymath_code_standard.checkers.copyright" = ["*.txt"]
"polymath_code_standard.checkers.cpp" = [".cpplint.cfg", "clang-format"]
"polymath_code_standard.checkers.go" = ["golangci.yml"]
"polymath_code_standard.checkers.python" = ["ruff.toml"]
"polymath_code_standard.checkers.web" = ["*.json", "*.mjs"]
"polymath_code_standard.checkers.xml" = ["package_format3.xsd"]
[tool.setuptools.packages.find]
exclude = ["test_files*", "tests*"]
[dependency-groups]
dev = [
"pytest>=9.0.3",
]
[tool.pytest.ini_options]
markers = [
# Downloads real tooling from Ansible Galaxy, npm, or a GitHub release. Deselect with -m 'not network'.
"network: test requires network access",
]
[project.scripts]
polymath_code_standard = "polymath_code_standard.runner:main"
polymath_copyright_header = "polymath_code_standard.insert_license:main"