-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.31 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
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
[tool.poetry]
name = "authentik-user-manager"
version = "0.1.2"
description = "Managing Authentik users via YAML files"
repository = "https://github.com/OpenRailAssociation/authentik-user-manager"
keywords = ["authentik", "user-management"]
authors = ["Max Mehl <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
packages = [{ include = "auth_user_mgr" }]
[tool.poetry.dependencies]
python = "^3.10"
pyyaml = "^6.0.2"
requests = "^2.32.3"
jinja2 = "^3.1.5"
[tool.poetry.scripts]
auth-user-mgr = "auth_user_mgr.main:cli"
[tool.poetry.group.dev.dependencies]
isort = "^6.0.0"
mypy = "^1.15.0"
pylint = "^3.3.4"
black = "^25.1.0"
types-requests = "^2.32.0.20241016"
bump-my-version = "^0.32.2"
[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 = ["auth_user_mgr/*.py"]
disable_error_code = ["import-untyped"]
# 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}\""