generated from jacobtomlinson/python-container-action
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
63 lines (51 loc) · 1.42 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
61
62
63
[tool.poetry]
name = "gha-repo-manager"
version = "1.8.0"
description = "Manage your Github repo(s) settings and secrets using Github Actions and a yaml file"
authors = ["Andrew Herrington <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "repo_manager"}]
[tool.poetry.scripts]
repo-manager = "repo_manager.main:main"
[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.7.4"
typing-extensions = "^4.12.2"
actions-toolkit = "^0.1.15"
pygithub = "^2.3.0"
pyyaml = "^6.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
ruff = "^0.4.9"
pytest = "^8.2.2"
pytest-mock = "^3.12.0"
pytest-cov = "^5.0.0"
pytest-asyncio = "^0.23.7"
bandit = "^1.7.9"
mypy = "^1.6.1"
pre-commit-hooks = "^4.5.0"
reorder-python-imports = "^3.13.0"
pytest-xdist = "^3.2.1"
pyupgrade = "^3.16.0"
pyflakes = "^3.1.0"
black = "^24.4.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.bandit]
exclude_dirs = ["tests", "noxfile.py", ".github/scripts"]
[tool.bandit.assert_used]
skips = ["repo_manager/github/branch_protections.py"]
[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]
norecursedirs = ".github ci .git .idea"
addopts = "--cov=repo_manager --cov-report xml:.coverage.xml --cov-report=term-missing"