Commit e71b3aa
authored
Arm backend: Fix mypy linting in pre-push (#10850)
- Adds ./src/ to MYPYPATH to find imports for editable install
- Make --revision point to the commit before the commit to be linted.
Since lintrunner compares files diffing between --revision and HEAD,
pointing it to the the latest commit (== HEAD) results in no files being
linted.
Signed-off-by: Adrian Lundell <[email protected]>1 parent 0bb059f commit e71b3aa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments