-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
50 lines (43 loc) · 1.33 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "rpmautospec-core"
version = "0.1.5"
description = "Core functionality for rpmautospec"
authors = ["Nils Philippsen <nils@redhat.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/fedora-infra/rpmautospec-core"
packages = [
{ include = "rpmautospec_core/**/*.py" },
]
include = [
{ path = "DCO.txt", format = "sdist" },
{ path = "tests/**/*.py", format = "sdist" },
{ path = "tests/test-specfiles/*", format = "sdist" },
{ path = "tox.ini", format = "sdist" },
]
exclude = [
"**/.coverage",
]
[tool.poetry.dependencies]
python = "^3.6"
[tool.poetry.dev-dependencies]
pytest = "^6.2.2 || ^7 || ^8.0.0"
pytest-cov = "^4.0.0 || ^5.0.0"
black = [
{ version = "^20.0.0", python = ">=3.6.0,<3.6.2" },
{ version = "^20.8b1||^21.0.0||^22.0.0", python = ">=3.6.2,<3.7" },
{ version = "^22.10.0||^23.0.0", python = ">=3.7,<3.8" },
{ version = "^23.9.0||^24.0.0", python = "^3.8" }
]
ruff = { version = "^0.1.14 || ^0.2.0 || ^0.3.0 || ^0.4.0", python = "^3.7" }
[tool.poetry.build]
generate-setup-file = true
[tool.black]
line_length = 100
[tool.pytest.ini_options]
addopts = "--cov --cov-config .coveragerc --cov-report term --cov-report xml --cov-report html"
[tool.ruff]
line-length = 100