-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
95 lines (84 loc) · 2.11 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
86
87
88
89
90
91
92
93
94
95
# Copyright (c) 2025 Sebastian Pipping <sebastian@pipping.org>
#
# Licensed under GNU Affero General Public License v3.0 or later
# SPDX-License-Identifier: AGPL-3.0-or-later
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pytocron"
dynamic = ["version"]
description = "Container cron with seconds resolution"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "AGPL-3.0-or-later" }
keywords = [
"automation",
"cron",
]
authors = [
{ name = "Sebastian Pipping", email = "sebastian@pipping.org" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"colorama",
"croniter",
"requests",
]
[project.optional-dependencies]
tests = [
"coverage",
"parameterized",
"pytest",
"pytz",
"sentry-sdk",
]
[project.scripts]
pytocron = "pytocron._main:main"
[project.urls]
Homepage = "https://github.com/hartwork/pytocron"
[tool.hatch.version]
path = "pytocron/_version.py"
[tool.hatch.build.targets.sdist]
only-include = [
"pytocron",
]
[tool.coverage.run]
branch = true
source_pkgs = ["pytocron"]
[tool.coverage.report]
omit = [
"*/tests/test_*.py",
]
show_missing = true
skip_empty = true
[tool.ruff]
line-length = 99
target-version = "py310"
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"ANN", # flake8-annotations
"D1", # Missing docstring in public ...
"D203", # one-blank-line-before-class, to unclash with D211
"D212", # multi-line-summary-first-line, to unclash with D213
"G004", # Logging statement uses f-string
"S101", # Use of `assert` detected
"SLF001", # Private member accessed
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"T201", # `print` found
"TID252", # Prefer absolute imports over relative imports from parent modules
]