Skip to content
Snippets Groups Projects
Verified Commit b9747191 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Use ruff for flake8, remove unnecessary flake8-copyright

parent c76fdeeb
No related branches found
No related tags found
1 merge request!2283Use ruff for flake8
This commit is part of merge request !2283. Comments created here will be created in the context of that merge request.
......@@ -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,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"]
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