-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
84 lines (76 loc) · 1.74 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
[build-system]
requires = [
"setuptools>=74.1.2",
"setuptools_scm[toml]>=8.1.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "prow-jobs-scraper"
description = "Scrape Prow for job results and export them to elasticsearch"
readme = "README.md"
keywords = ["prow"]
license = { file = "LICENSE" }
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"requests==2.32.4",
"google-cloud-storage==3.1.0",
"junitparser==3.2.0",
"pydantic==1.10.22",
"opensearch-py==2.8.0",
"slack_sdk==3.35.0",
"plotly==6.1.2",
"kaleido==0.2.1",
"python-dateutil==2.9.0.post0",
"retry==0.9.2",
"pandas==2.3.0",
"numpy==2.2.4",
"mmh3==5.1.0",
]
dynamic = ["version"]
[project.scripts]
prow-jobs-scraper = "prowjobsscraper.main:main"
jobs-auto-report = "jobsautoreport.main:main"
elasticsearch-cleanup = "elasticsearch_cleanup.main:main"
[project.optional-dependencies]
test-runner = [
"tox==4.26.0",
]
unit-tests = [
"freezegun==1.5.2",
"pytest==8.4.0",
"pytest-cov==6.1.1",
"pytest-httpserver==1.1.3",
]
coverage = [
"coverage[toml]==7.8.2",
]
lint = [
"black==25.1.0",
"isort==6.0.1",
"mypy==1.16.0",
"setuptools==80.9.0",
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = clean,python3.11,report
[testenv]
usedevelop=True
commands = pytest --cov=src --cov-append --cov-report=term-missing --junitxml=junit-{envname}.xml --junit-prefix={envname} {posargs}
deps = .[unit-tests]
depends =
{python3.11}: clean
report: python3.11
[testenv:report]
deps = .[coverage]
skip_install = true
commands =
coverage report
coverage html
coverage xml
[testenv:clean]
deps = .[coverage]
skip_install = true
commands = coverage erase
"""