Skip to content

Commit

Permalink
Enable ruff's PLR1702 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Oct 18, 2024
1 parent 559e7c3 commit 5561397
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion bin/run_data_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
def main():
args = parser.parse_args()

with bootstrap(args.config_file) as env:
with bootstrap(args.config_file) as env: # noqa: PLR1702
request = env["request"]
settings = env["registry"].settings

Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ exclude = [
"tests/bdd/steps/_compiled_feature_steps.py",
]


[tool.ruff.lint]
select = [
"E", "W", # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
Expand Down Expand Up @@ -92,7 +91,6 @@ ignore = [
"RET504",
"RET501",
"PLR6301",
"PLR1702",
"C405",
"C401",
"E721",
Expand Down

0 comments on commit 5561397

Please sign in to comment.