Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Sep 2, 2024
1 parent 0240471 commit 897d9b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mock_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import requests

import config
import code_eval
import config

class MockCmd:
def __init__(self):
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
'E', 'F', 'I',
'YTT', 'COM', 'T10', 'ISC', 'G', 'PIE', 'Q', 'RSE',
'PLC', 'PLE',
'RUF',
]
[tool.ruff.flake8-quotes]
[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'
multiline-quotes = 'single'
[tool.ruff.isort]
[tool.ruff.lint.isort]
lines-after-imports = 1

0 comments on commit 897d9b9

Please sign in to comment.