Skip to content

Commit

Permalink
Merge pull request #37 from Clinical-Genomics/refactor-linters
Browse files Browse the repository at this point in the history
### Changed

- feat(linters): Update
  • Loading branch information
henrikstranneheim authored Dec 9, 2024
2 parents 9e37269 + 43e9ea5 commit 2ca6328
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.4.0
rev: 24.10.0
hooks:
- id: black
args: [--line-length=100]
Expand All @@ -10,7 +10,7 @@ repos:
- id: isort
name: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.7
rev: v0.8.0
hooks:
- id: ruff

15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,18 @@ crunchy = "crunchy.cli.base:base_command"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 100

[tool.isort]
profile = "black"
include_trailing_comma = "true"
line_length=100
multi_line_output=3
ensure_newline_before_comments = "true"

[tool.ruff]
line-length = 100
target-version = "py312"
ignore = ["E501"]

0 comments on commit 2ca6328

Please sign in to comment.