Skip to content

Commit 7d90ecc

Browse files
Merge pull request #585 from DimitriPapadopoulos/ruff_0.8.0
Update ruff to 0.8.2
2 parents 94704aa + 5a053e9 commit 7d90ecc

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # v4.4.0
5+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
@@ -13,15 +13,15 @@ repos:
1313
args: [--allow-multiple-documents]
1414
- id: check-added-large-files
1515

16-
- repo: https://github.com/pre-commit/mirrors-prettier
17-
rev: fc260393cc4ec09f8fc0a5ba4437f481c8b55dc1 # frozen: v3.0.3
16+
- repo: https://github.com/rbubley/mirrors-prettier
17+
rev: 1463d990e0801964764a375260dca598513f3be5 # frozen: v3.3.3
1818
hooks:
1919
- id: prettier
2020
files: \.(md|rst|toml|yml|yaml)
2121
args: [--prose-wrap=preserve]
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: ef9b09598d53bbcde9cd388ac73a145e67537b44 # frozen: v0.6.6
24+
rev: 8b76f04e7e5a9cd259e9d1db7799599355f97cdf # frozen: v0.8.2
2525
hooks:
2626
- id: ruff
2727
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ select = [
9898
'SIM118',
9999
'SIM2'
100100
]
101+
ignore = [
102+
'UP031'
103+
]
101104

102105
[tool.spin]
103106
package = 'nipy'

0 commit comments

Comments
 (0)