From f35bb9692c4ee11da940414e6899fe9bdcbb062a Mon Sep 17 00:00:00 2001 From: wasserth Date: Wed, 13 Mar 2024 14:24:51 +0100 Subject: [PATCH] adapt linting to ignore empty lines with spaces (2) --- .pre-commit-config.yaml | 1 - pyproject.toml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5d50c823..cd082e12c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,6 @@ repos: - id: check-case-conflict - id: check-merge-conflict - id: check-symlinks - - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.7 diff --git a/pyproject.toml b/pyproject.toml index b0fd6e066..4fac63c60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,8 +45,7 @@ ignore = [ "E741", # do not use variables named l, O, or I "F401", # module imported but unused "F821", # undefined name - "F841", # local variable name is assigned to but never used - "W293" # blank line contains whitespace + "F841" # local variable name is assigned to but never used ] # Allow fix for all enabled rules (when `--fix`) is provided.