Skip to content

Commit

Permalink
➕ Add rule for single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jun 7, 2024
1 parent 0182f3c commit 715779b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ exclude = [
# Always generate Python 3.11-compatible code.
target-version = "py311"

[tool.ruff.format]
# Prefer single quotes over double quotes.
quote-style = "single"

[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
Expand Down

0 comments on commit 715779b

Please sign in to comment.