mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 19:33:54 +02:00
Optional: Add auto-walrus (#158)
To learn the use of the Walrus opperator this hook integrates it in your code if it finds a reason for it. This branch is a suggestion of mine to force the use of the walrus operaor as an autofix to keep it in mind when programming. This should not increase the workload for us. It just lets us confront a new programming tool. It also isn't a rull to be follwed. Just a hook that looks at your code with an autofix.
This commit is contained in:
@ -87,3 +87,8 @@ repos:
|
||||
rev: 0.26.3
|
||||
hooks:
|
||||
- id: check-github-workflows
|
||||
|
||||
- repo: https://github.com/MarcoGorelli/auto-walrus
|
||||
rev: v0.2.2
|
||||
hooks:
|
||||
- id: auto-walrus
|
||||
|
Reference in New Issue
Block a user