Skip to content

Commit

Permalink
select E1, UP and N, don't ignore E501
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jan 4, 2024
1 parent 4971496 commit 0c3c779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions nf_core/pipeline-template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
[tool.ruff]
line-length = 120
target-version = "py38"
ignore = ["E501"]
select = ["I", "E4", "E7", "E9", "F"]
select = ["I", "E1", "E4", "E7", "E9", "F", "UP", "N"]
cache-dir = "~/.cache/ruff"

[tool.ruff.isort]
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ norecursedirs = [ ".*", "build", "dist", "*.egg", "data", "__pycache__", ".githu
[tool.ruff]
line-length = 120
target-version = "py38"
ignore = ["E501"]
select = ["I", "E4", "E7", "E9", "F"]
select = ["I", "E1", "E4", "E7", "E9", "F", "UP", "N"]
cache-dir = "~/.cache/ruff"

[tool.ruff.isort]
Expand Down

0 comments on commit 0c3c779

Please sign in to comment.