Skip to content

Commit

Permalink
ruff.toml: Set max line length to 120 as it definitely isn't 80 even …
Browse files Browse the repository at this point in the history
…in the current codebase
  • Loading branch information
C0rn3j committed Sep 16, 2024
1 parent 2553eca commit 6efff67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
target-version = "py38"
# Project uses 80 sporadically, so just do soft 80 and hard break at 120
line-length = 120

[lint.flake8-quotes]
# Existing codebase was already mostly doublequoted
Expand All @@ -12,5 +14,6 @@ indent-style = 'tab'

[lint]
select = ['ALL']
# W191 - We use tabs like sane people, so disable this atrocious PEP 8 recommendation
ignore = ['W191']
ignore = [
'W191', # We use tabs for indents, disabling this atrocious PEP 8 recommendation
]

0 comments on commit 6efff67

Please sign in to comment.