From 5425ae8d33bbafe59a96689df4100d5994b68556 Mon Sep 17 00:00:00 2001 From: Linuxfabrik Date: Mon, 3 Aug 2026 16:26:11 +0200 Subject: [PATCH 1/2] chore: drop the unused Python tooling packaging ships no Python at all: 11 YAML, 6 shell, 5 Markdown, an RPM spec and a systemd unit, plus container files. The `pyproject.toml` held nothing but a ruff configuration and the two ruff hooks had nothing to look at, so both are gone. Per the company standard a `pyproject.toml` is only required once a repository actually contains Python code. --- pyproject.toml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index a25764d..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,23 +0,0 @@ -[tool.ruff] -line-length = 88 -target-version = 'py39' - -[tool.ruff.lint] -select = [ - 'B', # flake8-bugbear (potential bugs) - 'C4', # flake8-comprehensions - 'E', # pycodestyle errors - 'F', # pyflakes (logic errors) - 'I', # isort (import sorting) - 'RUF', # Ruff-specific rules - 'SIM', # flake8-simplify - 'UP', # pyupgrade (modernize syntax for py39+) - 'W', # pycodestyle warnings -] -ignore = [ - 'E501', # line too long (handled by code review, not auto-enforcement) -] - -[tool.ruff.format] -docstring-code-format = true -quote-style = 'single' From ef1ce0287165d1d78e47ebbdaa676b2c9406f3cb Mon Sep 17 00:00:00 2001 From: Markus Frei <31855393+markuslf@users.noreply.github.com> Date: Mon, 3 Aug 2026 16:27:43 +0200 Subject: [PATCH 2/2] chore: drop the ruff pre-commit hooks --- .pre-commit-config.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5c90aa..769ae3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,10 +20,3 @@ repos: # Linuxfabrik repositories; do not append a trailing newline. exclude: '^LICENSE$' - id: 'trailing-whitespace' - - - repo: 'https://github.com/astral-sh/ruff-pre-commit' - rev: 'v0.16.1' - hooks: - - id: 'ruff-check' - args: ['--fix'] - - id: 'ruff-format'