Skip to content

Commit

Permalink
Upgrade ruff to 0.0.230 and ignore 1 rule
Browse files Browse the repository at this point in the history
Explaining here:
astral-sh/ruff#2054 (comment)

Why I don't think that blindly enforcing unpacking over concatenation
is a good idea.
  • Loading branch information
LefterisJP committed Jan 22, 2023
1 parent 775d8df commit be8879a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ ignore = [
"C901", # function too complex
"RUF001", # AmbiguousUnicodeCharacterString
"RUF002", # AmbiguousUnicodeCharacterDocstring
"RUF005", # Unpacking over concatenation -> https://github.com/charliermarsh/ruff/issues/2054#issuecomment-1399617413
"RET501", # Explicitly returning None
"RET504", # Unnecessary variable assignment before `return
"RET505", # https://github.com/charliermarsh/ruff/issues/1035
Expand Down
4 changes: 2 additions & 2 deletions requirements_lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ mypy==0.991
mypy-extensions==0.4.3
pylint==2.15.10
astroid==2.13.2 # engine of pylint, upgrade them together
ruff==0.0.223
ruff==0.0.230
double-indent-rotki==0.1.7 # our fork of double indent
unify==0.5
flake8==6.0.0
flake8-commas==2.1.0
flake8-bugbear==23.1.14
flake8-bugbear==23.1.20
flake8-tuple==0.4.1
flake8-comprehensions==3.10.1
flake8-debugger==4.1.2
Expand Down

0 comments on commit be8879a

Please sign in to comment.