-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
69 lines (60 loc) · 1.62 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
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "git-pw"
description = "Git-Patchwork integration tool"
authors = [
{name = "Stephen Finucane", email = "stephen@that.guru"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "MIT"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Bug Tracker" = "https://github.com/getpatchwork/git-pw/issues"
"Source Code" = "https://github.com/getpatchwork/git-pw"
"Documentation" = "https://git-pw.readthedocs.io"
[project.scripts]
git-pw = "git_pw.shell:cli"
[tool.setuptools]
packages = [
"git_pw"
]
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "S", "U"]
ignore = [
# we only use asserts for type narrowing
"S101",
# FIXME: Add timeouts to requests
"S113",
# client tool can use subprocess as they like
"S603",
# FIXME: Use f-strings instead of printf
"UP031",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S"]
[tool.mypy]
show_column_numbers = true
show_error_context = true
show_error_code_links = true
pretty = true
strict = true
files = ["git_pw"]