Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
b77279e3
Commit
b77279e3
authored
1 year ago
by
Bastien Abadie
Committed by
Erwan Rouchet
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Run ruff with double quote checks only
parent
b11703c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2221
Run ruff with double quote checks only
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+5
-0
5 additions, 0 deletions
.pre-commit-config.yaml
ruff.toml
+9
-0
9 additions, 0 deletions
ruff.toml
with
14 additions
and
0 deletions
.pre-commit-config.yaml
+
5
−
0
View file @
b77279e3
...
...
@@ -11,6 +11,11 @@ repos:
-
'
flake8-copyright==0.2.2'
-
'
flake8-debugger==3.1.0'
-
'
flake8-quotes==3.3.2'
-
repo
:
https://github.com/astral-sh/ruff-pre-commit
rev
:
v0.1.11
hooks
:
-
id
:
ruff
args
:
[
--fix
]
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.1.0
hooks
:
...
...
This diff is collapsed.
Click to expand it.
ruff.toml
0 → 100644
+
9
−
0
View file @
b77279e3
line-length
=
120
[format]
# Like Black, use double quotes for strings.
quote-style
=
"double"
[lint]
select
=
[
"Q0"
]
ignore
=
[
"F"
,
"E"
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment