diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1da5de97ec9fd60a5ca4bf292ca40e986129fd2..ab231dc03cddc2deb0d0e501a4db8d1cae34f417 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,14 +3,6 @@ repos: rev: v5.10.1 hooks: - id: isort - - repo: https://github.com/pycqa/flake8 - rev: 3.9.2 - hooks: - - id: flake8 - additional_dependencies: - - 'flake8-copyright==0.2.2' - - 'flake8-debugger==3.1.0' - - 'flake8-quotes==3.3.2' - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.3.7 diff --git a/ruff.toml b/ruff.toml index 622b1a91e3f25fabdce9ac83d884101a9db3c0ec..6eac8a6a321d99f3d225952c3f960b0f297e218d 100644 --- a/ruff.toml +++ b/ruff.toml @@ -5,8 +5,17 @@ line-length = 120 quote-style = "double" [lint] -select = ["Q0", "F", "W", "E", +select = [ + # flake8-quotes + "Q", + # pyflakes + "F", + # pycodestyle + "W", + "E", # request-without-timeout "S113", + # flake8-debugger + "T10", ] ignore = ["E501"]