-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.69 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
68
69
70
71
# SPDX-FileCopyrightText: 2024 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "github-org-manager"
version = "0.5.6"
description = "Manage a GitHub Organization, its teams, repository permissions, and more"
authors = ["Max Mehl <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/OpenRailAssociation/github-org-manager"
keywords = ["github", "github-management", "permissions", "access-control"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
]
packages = [{ include = "gh_org_mgr" }]
[tool.poetry.scripts]
gh-org-mgr = 'gh_org_mgr.manage:main'
[tool.poetry.dependencies]
python = "^3.10"
pygithub = "^2.3.0"
pyyaml = "^6.0.1"
requests = "^2.32.3"
python-slugify = "^8.0.4"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
isort = "^5.13.2"
mypy = "^1.9.0"
pylint = "^3.1.0"
types-pyyaml = "^6.0.12.20240311"
types-requests = "^2.32.0.20240712"
bump-my-version = "^0.26.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# FORMATTING settings
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
# MYPY settings
[tool.mypy]
files = ["gh_org_mgr/*.py"]
# Bump-My-Version
[tool.bumpversion]
commit = true
tag = true
allow_dirty = false
tag_name = "v{new_version}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
regex = true
search = "^version = \"{current_version}\""
replace = "version = \"{new_version}\""