-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (57 loc) · 1.81 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
62
63
64
65
66
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{email = "[email protected]"},
{name = "Thomas Steen Rasmussen"}
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"typer-slim==0.12.5",
"bma-client-lib>=0.9.0",
]
name = "bma-cli"
description = "BornHack Media Archive CLI Tool"
readme = "README.md"
requires-python = ">=3.11"
dynamic = ["version"]
[project.scripts]
"bma" = "bma_cli.bma_cli:app"
[project.optional-dependencies]
dev = [
"pre-commit==4.0.0",
"setuptools-scm == 8.0.4",
]
[project.urls]
homepage = "https://github.com/bornhack/bma-cli-python"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py311"
extend-exclude = [
".git",
"__pycache__",
]
lint.select = ["ALL"]
lint.ignore = [
"G004", # https://docs.astral.sh/ruff/rules/logging-f-string/
"ANN101", # https://docs.astral.sh/ruff/rules/missing-type-self/
"ANN102", # https://docs.astral.sh/ruff/rules/missing-type-cls/
"EM101", # https://docs.astral.sh/ruff/rules/raw-string-in-exception/
"EM102", # https://docs.astral.sh/ruff/rules/f-string-in-exception/
"COM812", # missing-trailing-comma (https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules)
"ISC001", # single-line-implicit-string-concatenation (https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules)
"ARG001", # https://docs.astral.sh/ruff/rules/unused-function-argument/
"ARG002", # https://docs.astral.sh/ruff/rules/unused-method-argument/
"ARG004", # https://docs.astral.sh/ruff/rules/unused-static-method-argument/
]
line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"