-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (57 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
63 lines (57 loc) · 1.51 KB
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
[project]
name = "ssh-zone-handler"
version = "0.4.1"
description = "SSH commands to provide Secondary DNS self-service."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{name = "Andreas Olsson", email = "andreas@arrakis.se"}]
requires-python = ">=3.10, <3.15"
dependencies = [
"pydantic (>=2.12.3,<3)",
"pyyaml (>=6.0.3,<7)",
]
[project.urls]
repository = "https://github.com/andreaso/ssh-zone-handler"
[dependency-groups]
dev = [
"mypy (>=1.20.1)",
"pytest (>=9.0.3)",
"pytest-mock (>=3.15.1)",
"types-pyyaml (>=6.0.12.20260408,<7)",
"ruff (>=0.15.10)",
"ty (>=0.0.30)",
]
[project.scripts]
szh-verify = "ssh_zone_handler.cli:verifier"
szh-sshkeys = "ssh_zone_handler.cli:ssh_keys"
szh-sudoers = "ssh_zone_handler.cli:sudoers"
szh-wrapper = "ssh_zone_handler.cli:wrapper"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"PL", # pylint
"UP", # pyupgrade
"RUF", # ruff
"ERA", # eradicate
"YTT", # flake8-2020
"ANN", # flake8-annotations
"S", # flake8-bandit
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"ICN", # flake8-import-conventions
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
]
ignore = ["E501", "RUF005", "S603", "SIM105", "UP013"]
[tool.pytest.ini_options]
log_format = "%(message)s"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"