-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
82 lines (75 loc) · 1.87 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# We're using hatchling because setuptools-53.0.0 in RHEL9 can't read
# metadata from the [project] table below. setuptools>=61.0.0 is needed.
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "rpmdeplint"
authors = [
{ name = "Red Hat"},
]
description = "Rpmdeplint is a tool to find errors in RPM packages in the context of their dependency graph."
readme = "README.md"
license = "GPL-2.0-or-later"
license-files = { paths = ["COPYING"] }
requires-python = ">=3.9"
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Utilities",
]
dynamic = ["version"]
keywords = [
"rpm",
"dependency",
"linter"
]
dependencies = [
"requests",
"rpm",
]
[project.urls]
Homepage = "https://github.com/fedora-ci/rpmdeplint"
Documentation = "https://fedora-ci.github.io/rpmdeplint"
[project.optional-dependencies]
docs = ["sphinx"]
tests = [
"pytest",
"rpmfluff",
]
dev = [
"rpmdeplint[tests]",
"pre-commit",
]
[project.scripts]
rpmdeplint = "rpmdeplint.cli:main"
[tool.hatch.version]
source = "vcs"
raw-options.version_scheme = "no-guess-dev"
[tool.ruff]
select = [
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle Error
"F", # Pyflakes
"G", # flake8-logging-format
"I", # isort
"PIE", # flake8-pie
"PT", # flake8-pytest-style
"RET", # flake8-return
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle Warning
]
ignore = [
"SIM115", # open-file-with-context-handler
]
[tool.mypy]
python_version = "3.9"