Skip to content

Commit

Permalink
Move ruff settings to ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjjung committed Jan 9, 2025
1 parent 727cf37 commit 842fc3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dev = [
]

# Ruff
[tool.ruff]
line-length = 120
# [tool.ruff]
# line-length = 120

# Exclude a variety of commonly ignored directories.
exclude = [
Expand All @@ -37,9 +37,9 @@ exclude = [
# Always generate Python 3.12-compatible code.
target-version = "py312"

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

[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
Expand Down
4 changes: 4 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
line-length = 120

[format]
quote-style = "single"

0 comments on commit 842fc3f

Please sign in to comment.