-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (55 loc) · 1.28 KB
/
pyproject.toml
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
[tool.poetry]
name = "backup"
version = "0.1.0"
description = "SOWN backup"
readme = "README.md"
authors = ["Dan Trickey <[email protected]>", "Tim Stallard <[email protected]"]
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.32.3"
click = "^8.1.7"
paramiko = "^3.4.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.2"
mypy = "^1.10.1"
types-requests = "^2.32.0.20240712"
types-paramiko = "^3.4.0.20240423"
[tool.poetry.scripts]
backup = "backup.cli:cli"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"A",
"ANN",
"B",
"BLE",
"C4",
"COM",
"DJ",
"DTZ",
"E",
"F",
"FA",
"FBT",
"I",
"N",
"S",
"T10",
"UP",
"W",
]
ignore = [
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"B009", # Do not call `getattr` with a constant attribute value.
"COM812", # Conflicts with formatter
"N999", # Invalid module name
"S101", # S101 Use of `assert` detected
"S603", # `subprocess` call: check for execution of untrusted input
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"