Skip to content

Commit

Permalink
Migrate Ruff to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Sep 28, 2024
1 parent 6e84a28 commit 5bd2301
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ruff.toml → pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
[tool.ruff]
# Target non-EOL releases at minimum, or later if needed
# https://devguide.python.org/versions/
target-version = "py38"
# Project uses 80 sporadically, so just do soft 80 and hard break at 120
line-length = 120

[lint.flake8-quotes]
[tool.ruff.lint.flake8-quotes]
# Existing codebase was already mostly doublequoted
inline-quotes = 'double'


[format]
[tool.ruff.format]
# Existing codebase was already mostly doublequoted
quote-style = 'double'
indent-style = 'tab'

[lint]
[tool.ruff.lint]
select = ['ALL']
ignore = [
'W191', # We use tabs for indents, disabling this atrocious PEP 8 recommendation
Expand Down

0 comments on commit 5bd2301

Please sign in to comment.