generated from jacobtomlinson/python-container-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
55 lines (45 loc) · 1.24 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
[tool.poetry]
name = "gha-clone-releases"
version = "1.9.0"
description = "Github Action to clone releases from one repo to another"
authors = ["Andrew Herrington <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "gha_clone_releases"}]
[tool.poetry.scripts]
clone-releases = "gha_clone_releases.main:main"
[tool.poetry.dependencies]
python = "^3.11"
actions-toolkit = "^0.1.15"
pygithub = "^2.3.0"
packaging = "^23.2"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.4"
pytest-cov = "^5.0.0"
pytest-asyncio = "^0.23.6"
bandit = "^1.7.8"
mypy = "^1.9.0"
pre-commit-hooks = "^4.5.0"
reorder-python-imports = "^3.12.0"
pytest-xdist = "^3.5.0"
ruff = ">=0.0.261,<0.3.5"
pre-commit = "^3.6.2"
pyupgrade = "^3.15.1"
pyflakes = "^3.2.0"
black = "^24.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
exclude_dirs = ["tests", "noxfile.py", ".github/scripts"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.mypy]
warn_unreachable = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
[tool.pytest.ini_options]
addopts = "-n 4 --cov=gha_clone_releases --cov-report xml:.coverage.xml --cov-report=term-missing"