-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (106 loc) · 3.53 KB
/
pyproject.toml
File metadata and controls
121 lines (106 loc) · 3.53 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[project]
name = "FileBackup"
version = "0.0.0"
# ^^^^^
# Wheel names will be generated according to this value. Do not manually modify this value; instead
# update it according to committed changes by running this command from the root of the repository:
#
# uv run python -m AutoGitSemVer.scripts.UpdatePythonVersion ./pyproject.toml ./src
description = "Tool for creating and restoring file system backups."
readme = "README.md"
authors = [
{ name = "David Brownell", email = "github@DavidBrownell.com" }
]
requires-python = ">= 3.10"
dependencies = [
"dbrownell-common>=0.15.0",
"paramiko>=3.5.1",
"typer>=0.15.3",
]
keywords = [
"backup",
"mirror",
"offsite",
"restore",
]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Archiving :: Backup",
"Topic :: System :: Archiving :: Mirroring",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://github.com/davidbrownell/FileBackup"
Documentation = "https://github.com/davidbrownell/FileBackup"
Repository = "https://github.com/davidbrownell/FileBackup"
[project.scripts]
FileBackup = "FileBackup.CommandLine:EntryPoint.app"
file_backup = "FileBackup.CommandLine:EntryPoint.app"
[build-system]
requires = ["uv_build>=0.8.15,<0.9.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"autogitsemver>=0.9.2",
"cx-freeze>=8.3.0",
"dbrownell-commitemojis>=0.1.4",
"pre-commit>=4.2.0",
"py-minisign>=0.12.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"ruff>=0.12.3",
]
[tool.pytest.ini_options]
addopts = "--verbose -vv --capture=no --cov=FileBackup --cov-report term --cov-report xml:coverage.xml --cov-fail-under=85.0"
python_files = [
"**/*Test.py",
]
[tool.ruff]
line-length = 110
[tool.ruff.lint]
exclude = ["tests/**"]
ignore = [
"ANN002", # Missing type annotation for `*args`
"ANN003", # Missing type annotation for `**kwargs`
"BLE001", # Do not catch blind exception: `Exception`
"COM812", # Trailing comma missing
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__` method
"D202", # No blank lines allowed after function docstring
"E501", # Line too long
"FIX002", # Line contains TODO, consider resolving the issue
"I001", # Import block is un-sorted or un-formatted
"N802", # Function name `xxx` should be lowercase
"N999", # Invalid module name
"RSE102", # Unnecessary parentheses on raise exception
"S101", # Use of assert detected
"TC006", # Add quotes to type expression in `typing.cast()`
"TD002", # Missing author in TODO
"TD003", # Missing issue link for this TODO
"TRY002", # Create your own exception
"TRY300", # Consider moving this statement to an `else` block
"UP032", # Use f-string instead of `format` call
]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.pylint]
max-args = 10
max-branches = 20
max-returns = 20
[tool.uv.build-backend]
module-name = "FileBackup"