fixes, cleanup, pyproject.toml

This commit is contained in:
2026-03-19 19:44:04 -06:00
parent 222dbee9aa
commit 459c81e10c
4 changed files with 64 additions and 24 deletions

40
pyproject.toml Normal file
View File

@@ -0,0 +1,40 @@
[project]
name = "mtik-cert-pusher"
version = "0.0.1"
description = "Script that pushes a TLS private key and certificate chain to a host running MikroTik RouterOS"
authors = [
{name = "Darsey Litzenberger",email = "dlitz@dlitz.net"}
]
license = "MIT"
#readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"cryptography (>=40.0.0)"
]
[dependency-groups]
dev = [
"black (>=26.3.1,<27.0.0)",
"isort (>=8.0.1,<9.0.0)"
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project.scripts]
mtik-cert-pusher = "mtik_cert_pusher.__main__:main"
[tool.black]
# make black compatible with isort
line_length = 88
[tool.flake8]
max-line-length=88
[tool.isort]
# make isort compatible with black
multi_line_output = 3
line_length = 88
include_trailing_comma = true