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' 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'