Skip to content

Commit

Permalink
#2244 Issue: Update deprecated ruff linter settings (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshayletsgo authored Jul 31, 2024
1 parent b9c4cc6 commit e637e5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/ruff.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E", "F"]
lint.select = ["E", "F"]

# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
lint.fixable = ["ALL"]
lint.unfixable = []

# E402 module level import not at top of file
# E722 do not use bare 'except'
# E501 line too long
ignore = ["E402", "E722", "E501"]
lint.ignore = ["E402", "E722", "E501"]

line-length = 120

Expand Down

0 comments on commit e637e5a

Please sign in to comment.