Skip to content

Commit

Permalink
adapt linting to ignore empty lines with spaces (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Mar 13, 2024
1 parent b13251e commit f35bb96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f35bb96

Please sign in to comment.