-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (89 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
103 lines (89 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[project]
name = "db-backup-runner"
version = "0.1.3"
description = "Run any db backups (and others) from inside its own docker container"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha 4 - Beta 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
# Pick your license as you wish (see also "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.7",
"docker>=7.1.0",
"loguru>=0.7.3",
"python-cron",
"python-dotenv>=1.0.1",
"requests>=2.32.3",
"tqdm>=4.67.1",
]
[project.urls]
Repository = "https://github.com/burgdev/db-backup-runner"
Documentation = "https://burgdev.github.io/db-backup-runner/"
Changelog = "https://github.com/burgdev/db-backup-runner/blob/main/CHANGELOG.md"
Releases = "https://github.com/burgdev/db-backup-runner/releases"
[tool.docker]
registry = "ghcr.io/burgdev"
[dependency-groups]
dev = [
"black>=24.10.0",
"bump2version>=1.0.1",
"deptry>=0.21.1",
"environs>=11.2.1",
"git-cliff>=2.7.0",
"humanize>=4.11.0",
"invoke>=2.2.0",
"mkdocs-autoapi>=0.3.2",
"mkdocs-click>=0.8.1",
"mkdocs-gen-files>=0.5.0",
"mkdocs-literate-nav>=0.6.1",
"mkdocs-material>=9.5.49",
"mkdocs-open-in-new-tab>=1.0.8",
"mkdocs-section-index>=0.3.9",
"mkdocstrings[python]>=0.27.0",
"pre-commit>=4.0.1",
"pyright>=1.1",
"pytest>=8.3.4",
"python-on-whales>=0.74.0",
"rich>=13.9.4",
"rooster-blue>=0.0.8",
"ruff>=0.8.2",
"termynal>=0.12.2",
"toml>=0.10.2",
"types-requests>=2.32.0.20241016",
]
[tool.uv.sources]
# Use an unreleased version to support non-async jobs
# https://github.com/whdev1/pycron/pull/1
python-cron = { git = "https://github.com/whdev1/pycron", rev = "e40f465940f1632b753b75c819364b20ed85e1ca" }
[project.scripts]
db-backup-runner = "db_backup_runner:cli"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-third-party = ["db_backup_runner"]
[tool.deptry]
extend_exclude = ["tasks/__init__.py"]
[tool.deptry.per_rule_ignores]
DEP004 = [
"toml",
"rich",
"icecream",
"invoke",
"environs",
"humanize",
"python_on_whales",
"mkdocs_gen_files",
] # only in dev
DEP003 = ["db_backup_runner"] # transitive dependencies
#DEP002 = ["types-xmltodict", "types-python-slugify"] # not used
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"