Commit 394435c
Add .pre-commit-config which runs pyink
Copy of #6336 PR by kiryl-filatau
There are also existing hooks in https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/tree/master/hooks
..but these look pretty ancient (last change 8 years ago). Will ignore for now & can potentially incorporate some of the useful features (like only running linter on modified files) in the future.
PiperOrigin-RevId: 8538361761 parent d3e2dd7 commit 394435c
File tree
2 files changed
+11
-1
lines changed- perfkitbenchmarker/github
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
| 435 | + | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| |||
637 | 638 | | |
638 | 639 | | |
639 | 640 | | |
| 641 | + | |
| 642 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments