Skip to content

Commit bd12f38

Browse files
authored
Merge pull request #277 from input-output-hk/pre_commit_update2
chore: update pre-commit hooks and fix imports
2 parents 028397b + 8004b28 commit bd12f38

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
language_version: python3
@@ -13,7 +13,7 @@ repos:
1313
- id: debug-statements
1414
language_version: python3
1515
- repo: https://github.com/charliermarsh/ruff-pre-commit
16-
rev: v0.6.3
16+
rev: v0.8.3
1717
hooks:
1818
- id: ruff
1919
args: [ --fix ]
@@ -23,7 +23,7 @@ repos:
2323
hooks:
2424
- id: shellcheck
2525
- repo: https://github.com/igorshubovych/markdownlint-cli
26-
rev: v0.41.0
26+
rev: v0.43.0
2727
hooks:
2828
- id: markdownlint
2929
- repo: local

cardano_clusterlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
from cardano_clusterlib.exceptions import CLIError
55

66
__all__ = [
7-
"ClusterLib",
87
"CLIError",
8+
"ClusterLib",
99
]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ line-length = 100
4444

4545
[tool.ruff.lint]
4646
select = ["ARG", "B", "C4", "C90", "D", "DTZ", "E", "EM", "F", "I001", "ISC", "N", "PIE", "PL", "PLE", "PLR", "PLW", "PT", "PTH", "Q", "RET", "RSE", "RUF", "SIM", "TRY", "UP", "W", "YTT"]
47-
ignore = ["D10", "D203", "D212", "D213", "D214", "D215", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D413", "ISC001", "PLR0912", "PLR0913", "PLR0915", "PT001", "PT004", "PT007", "PT012", "PT018", "PT023", "PTH123", "RET504", "TRY002", "TRY301", "UP006", "UP007", "UP035"]
47+
ignore = ["D10", "D203", "D212", "D213", "D214", "D215", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D413", "ISC001", "PLR0912", "PLR0913", "PLR0915", "PT001", "PT007", "PT012", "PT018", "PT023", "PTH123", "RET504", "TRY002", "TRY301", "UP006", "UP007", "UP035"]
4848

4949
[tool.ruff.lint.isort]
5050
force-single-line = true

0 commit comments

Comments
 (0)