Refactor code structure and enhance documentation in main modules

- Updated `pyproject.toml` to include configuration for `ruff` linting tool.
- Improved `download_build.py` by adding a docstring to the `dowload` function.
- Refactored `__main__.py` for clarity and consistency in path handling.
- Enhanced `extract.py` with detailed docstrings for error classes and functions.
This commit is contained in:
2025-05-03 18:13:58 +02:00
parent d6df9c76d0
commit 1749dbffc7
4 changed files with 47 additions and 18 deletions

View File

@@ -14,6 +14,33 @@ dev = [
]
[tool.basedpyright]
pythonVersion = "3.13"
typeCheckingMode = "all"
reportUnusedCallResult = false
reportAny = false
[tool.ruff]
target-version = "py313"
line-length = 120
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint]
select = ["ALL"]
extend-ignore = [
"D203",
"D213",
"COM812",
"EM101",
"TRY003",
"T201",
"D100",
"D400"
]