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
Merge requests
!2223
Enable most of pycodestyle through ruff
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Enable most of pycodestyle through ruff
moar-ruff
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Bastien Abadie
requested to merge
moar-ruff
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
enable flake8 compat
enable 99% of pycodestyle ... except line too long
It found and fixed one interesting issue.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5c12eb2d
1 commit,
1 year ago
2 files
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
arkindex/users/utils.py
+
1
−
1
Options
@@ -34,7 +34,7 @@ def get_public_instances(model):
def
check_level_param
(
level
):
assert
typ
e
(
level
)
is
int
,
"
An integer level is required to compare access rights.
"
assert
isinstanc
e
(
level
,
int
)
,
"
An integer level is required to compare access rights.
"
assert
level
>=
1
,
"
Level integer should be greater than or equal to 1.
"
assert
level
<=
100
,
"
level integer should be lower than or equal to 100
"
Loading