forked from andrewthetechie/gha-repo-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (55 loc) · 1.52 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
64
65
66
67
[tool.poetry]
name = "gha-repo-manager"
version = "2.2.3"
description = "Manage your Github repo(s) settings and secrets using Github Actions and a yaml file"
authors = ["Actuary Sailor <[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.9.0"
typing-extensions = "^4.12.2"
actions-toolkit = "^0.1.15"
pygithub = "^2.3.0"
pyyaml = "^6.0"
pydantic-extra-types = "^2.7.0"
gitpython = "^3.1.43"
pandas = "^2.2.2"
tabulate = "^0.9.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
ruff = "^0.4.6"
pytest = "^8.3.2"
pytest-mock = "^3.12.0"
pytest-cov = "^5.0.0"
pytest-asyncio = "^0.23.7"
bandit = "^1.7.9"
mypy = "^1.11.2"
pre-commit-hooks = "^4.5.0"
reorder-python-imports = "^3.12.0"
pytest-xdist = "^3.2.1"
pyupgrade = "^3.15.0"
pyflakes = "^3.1.0"
black = "^24.8.0"
[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"