-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (97 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (97 loc) · 2.2 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["src/simple_s3_backup"]
[project]
name = "simple-s3-backup"
version="0.0.2"
authors = [
{ name="Cody Baker", email="cody.c.baker.phd@gmail.com" },
]
description = "Simple scripts for running backup on MIT cluster."
readme = "README.md"
keywords = [
"AWS",
"S3",
"backup",
]
license = {file = "LICENSE.txt"}
requires-python = ">=3.13"
dependencies = [
"click",
"s5cmd",
"PyYAML",
"tabulate2",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: Unix",
"License :: OSI Approved :: MIT License",
]
[project.urls]
Homepage = "https://github.com/dandi/simple-s3-backup"
Documentation = "https://github.com/dandi/simple-s3-backup/blob/master/README.md"
Repository = "https://github.com/dandi/simple-s3-backup/"
Issues = "https://github.com/dandi/simple-s3-backup/issues"
Changelog = "https://github.com/dandi/simple-s3-backup/blob/master/CHANGELOG.md"
[project.scripts]
s3backup = "simple_s3_backup._command_line_interface._cli:_s3backup"
[dependency-groups]
test = ["pytest"]
dev = ["ipython", "pre-commit"]
all = [
{include-group = "test"},
{include-group = "dev"}
]
[tool.black]
line-length = 120
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
\.toml
|\.yml
|\.txt
|\.sh
|\.git
|\.ini
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.ruff]
exclude = [
"*/__init__.py"
]
line-length = 120
[tool.ruff.lint]
select = ["F", "E", "I"]
ignore = [
"PTH123",
"D203",
"D212",
"T201",
"FIX002",
"TD003",
"TD002",
"S101",
"ICN001",
"INP001",
]
fixable = ["ALL"]
[tool.ruff.lint.isort]
relative-imports-order = "closest-to-furthest"
known-first-party = ["simple_s3_backup"]
[tool.ruff.lint.per-file-ignores]
"src/simple_s3_backup/_hidden_top_level_imports.py" = ["F401"] # Must perform imports here even if not exposed