Skip to content
Snippets Groups Projects
Commit a605966c authored by Yoann Schneider's avatar Yoann Schneider :tennis: Committed by Erwan Rouchet
Browse files

Use ruff for flake8

parent b15c780e
No related branches found
No related tags found
1 merge request!2283Use ruff for flake8
......@@ -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
......
......@@ -5,9 +5,18 @@ 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",
# escape-sequence-in-docstring
"D301",
# flake8-return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment