-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.87 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.87 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
[tool.poetry]
name = "mirrors-countme"
version = "0.1.4"
description = "Parse access logs and count hosts for DNF mirrors"
authors = [
"Will Woods",
"Stephen Smoogen <smooge@smoogespace.com>",
"Adam Saleh <asaleh@redhat.com>",
"Patrik Polakovič <patrik@alphamail.org>",
"Nils Philippsen <nils@redhat.com>",
"James Antill <james@and.org>",
"Lenka Segura <lsegura@redhat.com>",
"Pedro Moura <pmoura@redhat.com>",
]
maintainers = [
"Fedora Infrastructure <admin@fedoraproject.org>",
]
license = "GPL-3.0-or-later"
readme = "README.md"
repository = "http://github.com/fedora-infra/mirrors-countme"
packages = [
{ include = "mirrors_countme" },
]
include = [
{ path = "scripts/*.sh", format = "sdist" },
{ path = "scripts/countme-rezip", format = "sdist" },
{ path = "tests", format = "sdist" },
]
[tool.poetry.build]
generate-setup-file = true
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.dev.dependencies]
poetry = "^1.3.2"
pytest = "^7.3.1 || ^8.0.0"
pytest-cov = "^4.0.0 || ^5.0.0 || ^6.0.0"
black = "^23.3.0 || ^24.0.0"
mypy = "^1.2.0"
hypothesis = "^6.72.4"
ruff = "^0.2.0 || ^0.3.0 || ^0.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
countme-totals = "mirrors_countme.scripts.countme_totals:cli"
countme-trim-raw = "mirrors_countme.scripts.countme_trim_raw:cli"
countme-parse-access-log = "mirrors_countme.scripts.countme_parse_access_log:cli"
countme-delete-totals = "mirrors_countme.scripts.countme_delete_totals:cli"
[tool.pytest.ini_options]
addopts = "--cov-config .coveragerc --cov=mirrors_countme --cov-report term --cov-report xml --cov-report html"
[tool.black]
line_length = 100
[tool.isort]
line_length = 100
profile = "black"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
allowed-confusables = ["’"]