-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (51 loc) · 1.25 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
[tool.poetry]
name = "concourse-dnf"
version = "0.1.0"
description = "Concourse resource to track changes within dnf/yum repositories"
authors = ["Nic Anderson <nic@nic-a.net>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{include = "concourse_dnf"}]
[tool.poetry.scripts]
check = 'concourse_dnf.cli:resource_check'
in = 'concourse_dnf.cli:resource_in'
out = 'concourse_dnf.cli:resource_out'
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
isort = "^5.12.0"
pytest = "^7.4.2"
flake8 = "^6.1.0"
flake8-pyproject = "^1.2.3"
coverage = "^7.3.2"
[tool.flake8]
max-line-length = 100
count = true
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
src_paths = ["concourse_dnf", "tests"]
line_length = 100
known_first_party = ["concourse_dnf"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
# 3.11 as current, 3.12 as future
legacy_tox_ini = """
[tox]
isolated_build = true
env_list =
py311
py312
[testenv]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install
commands =
poetry run coverage run -m pytest tests/ --import-mode importlib
"""