Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (65 loc) · 1.59 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
64
65
66
67
68
69
70
71
72
73
[project]
name = "portabase-cli"
version = "26.10.2"
description = "The official command line interface (CLI) for managing and deploying Portabase instances with ease."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"typer>=0.20.0",
"rich>=14.2.0",
"questionary>=2.1.0",
"requests>=2.32.5",
"pyyaml>=6.0.3",
"pycryptodome>=3.23.0",
"jinja2>=3.1",
]
[dependency-groups]
dev = [
"pyinstaller>=6.17.0",
"ruff>=0.16.0",
"pytest>=8.3",
"mypy>=1.15",
]
[tool.ruff]
target-version = "py312"
line-length = 88
extend-exclude = [".venv", "build", "dist", "docs", "*.md", "*.spec"]
[tool.ruff.lint]
select = [
"E", "F", "W",
"I",
"UP",
"B",
"BLE",
"S110",
"E722",
"TID251",
"SIM",
"TRY201",
"PLW1510",
]
ignore = [
"B008",
"E501",
]
[tool.ruff.lint.per-file-ignores]
"ui/**" = ["TID251"]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"rich.prompt".msg = "Use ui.form() / ui.confirm() instead."
"rich.console".msg = "Only ui/ may build a Console. Use the UI facade."
"typer.prompt".msg = "Use ui.form() instead."
"typer.confirm".msg = "Use ui.confirm() instead."
[tool.ruff.lint.isort]
known-first-party = ["commands", "core", "engines", "services", "ui"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["*.py"]
python_functions = ["[!_]*"]
pythonpath = ["."]
addopts = "-q --import-mode=importlib"
[tool.mypy]
python_version = "3.12"
files = ["commands", "core", "engines", "services", "ui", "tests", "main.py"]
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true