-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (74 loc) · 2.54 KB
/
pyproject.toml
File metadata and controls
85 lines (74 loc) · 2.54 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "checkcrontab"
dynamic = ["version"]
description = "A Python3 script for checking syntax and correctness of crontab files"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
authors = [{ name = "Aleksandr Pimenov", email = "wachawo@gmail.com" }]
maintainers = [{ name = "Aleksandr Pimenov", email = "wachawo@gmail.com" }]
keywords = ["crontab", "cron", "validation", "syntax", "checker", "system", "administration"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
]
requires-python = ">=3.7"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"hypothesis>=6.97.0",
"coverage-badge>=1.1.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"ruff>=0.10.0",
"build>=0.10.0",
]
[project.scripts]
checkcrontab = "checkcrontab.main:main"
[project.urls]
Homepage = "https://github.com/wachawo/checkcrontab"
Repository = "https://github.com/wachawo/checkcrontab"
Documentation = "https://github.com/wachawo/checkcrontab#readme"
"Bug Reports" = "https://github.com/wachawo/checkcrontab/issues"
[tool.setuptools.dynamic]
version = { attr = "checkcrontab.__version__" }
[tool.setuptools.packages.find]
include = ["checkcrontab*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
checkcrontab = ["**/*.py"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 180
lint.select = ["E","F","I","UP","B","SIM","C4","PL"]
lint.ignore = ["E501"]
fix = true
include = ["*.py"]
exclude = ["examples/", "tests/", ".git", ".venv", "__pycache__", "build", "dist", "*.md", "*.json", "*.yaml", "*.yml", "*.toml"]
[tool.ruff.lint.pylint]
max-branches = 50
max-statements = 180
max-returns = 10