-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (50 loc) · 1.72 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
56
57
58
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "pre-commit-hooks-checker"
version = "1.3.0"
authors = [
{ name="Praxinos", email="contact@praxinos.coop" },
]
description = "Some additional hooks to check code source"
readme = "README.md"
requires-python = ">=3.13"
classifiers = [
# https://pypi.org/classifiers/
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#classifiers
"Private :: Do Not Upload",
]
[project.urls]
homepage = "https://praxinos.coop"
source = "https://github.com/praxinos/Lib-PreCommitHooks-Python.git"
issues = "https://github.com/praxinos/Lib-PreCommitHooks-Python/issues"
[project.scripts]
check-only-spaces = "pre_commit_hooks_checker.check_only_spaces:main"
check-single-newline-end-of-file = "pre_commit_hooks_checker.check_single_newline_end_of_file:main"
check-utf8-wihtout-byte-order-marker = "pre_commit_hooks_checker.check_utf8_wihtout_byte_order_marker:main"
check-no-trailing-spaces = "pre_commit_hooks_checker.check_no_trailing_spaces:main"
check-copyright = "pre_commit_hooks_checker.check_copyright:main"
check-iddn = "pre_commit_hooks_checker.check_iddn:main"
check-uplugin = "pre_commit_hooks_checker.check_uplugin:main"
### TOX
[tool.tox]
envlist = [
"tests",
]
[tool.tox.env_run_base]
[tool.tox.env.tests]
description = "run tests"
deps = [
"covdefaults",
"coverage",
"pytest",
]
commands = [
[ "coverage", "erase" ],
[ "coverage", "run", "-m", "pytest", { replace = "posargs", default = ["tests"], extend = true } ],
[ "coverage", "report" ],
]