Skip to content

Commit

Permalink
Merge pull request #2725 from mashehu/update-ruff-template
Browse files Browse the repository at this point in the history
update ruff to 0.2.0 and add it to pre-commit step
  • Loading branch information
mashehu committed Feb 6, 2024
2 parents 02eba1d + a446895 commit 03b044a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

### General

- update ruff to 0.2.0 and add it to pre-commit step ([#2725](https://github.com/nf-core/tools/pull/2725))
- Update codecov/codecov-action digest to e0b68c6 ([#2728](https://github.com/nf-core/tools/pull/2728))

## [v2.12.1 - Aluminium Wolf - Patch](https://github.com/nf-core/tools/releases/tag/2.12.1) - [2024-02-01]
Expand Down
4 changes: 2 additions & 2 deletions nf_core/pipeline-template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ target-version = "py38"
select = ["I", "E1", "E4", "E7", "E9", "F", "UP", "N"]
cache-dir = "~/.cache/ruff"

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["nf_core"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]

0 comments on commit 03b044a

Please sign in to comment.