diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c7409c916..054c736e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,4 +29,9 @@ repos: rev: 5.12.0 hooks: - id: isort +- repo: https://github.com/MarcoGorelli/auto-walrus + rev: 'v0.2.2' + hooks: + - id: auto-walrus + name: Auto-apply the walrus operator := exclude: .+?\.(cm|ps|bpseq|tr|fasta|xml|svg)$