Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (87 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (87 loc) · 2.03 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 100
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pyright]
include = ["src", "tests", "mkbrr-wizard.py"]
exclude = ["**/__pycache__"]
pythonVersion = "3.10"
pythonPlatform = "Linux"
typeCheckingMode = "basic"
reportMissingImports = "warning"
reportUnknownParameterType = "none"
reportUnknownMemberType = "none"
reportUnknownVariableType = "none"
extraPaths = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[project]
name = "mkbrr-wizard"
version = "0.1.0"
description = "Interactive CLI wizard for mkbrr with Rich UI support"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"PyYAML>=6.0",
"pydantic>=2.7,<3",
"rich>=14.2.0",
"httpx[http2]>=0.28",
"python-dotenv>=1.0",
]
[project.scripts]
mkbrr-wizard = "mkbrr_wizard.cli:main"
[project.optional-dependencies]
ui = [
"prompt_toolkit>=3.0.40",
]
dev = [
"pytest>=7.2",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"build>=1.2",
"prompt_toolkit>=3.0.40",
"black>=23.5.0",
"ruff>=0.14.0,<0.19.0",
"isort>=5.12.0",
"mypy>=0.942",
"types-PyYAML>=6.0",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
mkbrr_wizard = ["schema/*.json"]
[tool.setuptools.data-files]
"share/mkbrr-wizard" = ["config.yaml.sample"]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"