We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76ef2fd + 54de1a7 commit b8c8f07Copy full SHA for b8c8f07
.pre-commit-hooks.yaml
@@ -0,0 +1,8 @@
1
+- id: mamushi
2
+ name: format vyper
3
+ description: "Run 'mamushi' for Vyper formatting"
4
+ entry: mamushi
5
+ language: system
6
+ # types: [ vyper ]
7
+ files: "\\.(vy|vyi)$" # remove when type `vyper` available
8
+ # additional_dependencies: ['identify==2.6.8']
README.md
@@ -32,6 +32,17 @@ Output the result to console instead of overwriting:
32
33
`mamushi --in-place False`
34
35
+### pre-commit
36
+Add to your `.pre-commit-config.yaml`:
37
+```yaml
38
+repos:
39
+ - repo: https://github.com/benber86/mamushi
40
+ rev: main
41
+ hooks:
42
+ - id: mamushi
43
+ args: [ --line-length=100 ]
44
+```
45
+
46
47
## Notes
48
0 commit comments