Commit cc16926
committed
Arm backend: Fix mypy linting in pre-push
- 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]>
Change-Id: Ia7ce8f02e1ae526dce91758bc267cd78f1f40ee61 parent dcd25eb commit cc16926
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