Skip to content
Snippets Groups Projects
Commit 5c12eb2d authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Enable most of pycodestyle through ruff

parent adab0793
No related branches found
No related tags found
1 merge request!2223Enable most of pycodestyle through ruff
......@@ -34,7 +34,7 @@ def get_public_instances(model):
def check_level_param(level):
assert type(level) is int, "An integer level is required to compare access rights."
assert isinstance(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"
......
......@@ -5,5 +5,5 @@ line-length = 120
quote-style = "double"
[lint]
select = ["Q0"]
ignore = ["F", "E"]
select = ["Q0", "F", "W", "E"]
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