-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (79 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (79 loc) · 2 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[tool.poetry]
name = "kerneltest"
version = "1.3.0"
description = "Kerneltests is the application storing the results of kernel tests submitted either by the Fedora kernel maintainer or Fedora contributors."
license = "MIT"
authors = [
"Justin M. Forbes <jmforbes@linuxtx.org>",
"Pierre-Yves Chibon <pingou@pingoured.fr>",
"Fedora Infrastructure <admin@fedoraproject.org>",
]
readme = 'README.md' # Markdown files are supported
repository = "https://github.com/fedora-infra/kerneltest"
homepage = "https://github.com/fedora-infra/kerneltest"
packages = [
{ include = "kerneltest" },
]
include = [
{ path = "tests/*", format = "sdist" },
]
classifiers = [
"Environment :: Web Environment",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
[tool.poetry.dependencies]
python = "^3.9.0"
flask-oidc = "^2.1.1"
flask = "^3.0.2"
flask-wtf = "^1.2.1"
alembic = "^1.13.1"
sqlalchemy = "^2.0.28"
toml = "^0.10.2"
six = "^1.16.0"
munch = "^4.0.0"
psycopg2 = "^2.9.9"
jinja2 = "^3.1.3"
gunicorn = ">=21.0.0"
kerneltest-messages = "^1.0.0"
backoff = "^2.2.1"
fedora-messaging = "^3.5.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.1.0"
pytest-cov = ">=3.0.0"
coverage = "^7.4.4"
black = "^24.3.0 || ^25.0.0 || ^26.0.0"
poetry = "^1.8.2 || ^2.0.0"
responses = "^0.25.0 || ^0.26.0"
ruff = ">=0.3.4"
[tool.poetry.extras]
deploy = ["gunicorn"]
[tool.coverage.run]
branch = true
source = [
"kerneltest",
]
[tool.coverage.report]
fail_under = 50
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
omit = [
"tests/*",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
[tool.ruff]
select = ["E", "F", "W", "I", "B", "UP"]
line-length = 100
target-version = "py39"