Commit 23453b4
Python Flake8 linter workflow to replace stickler-ci (#1786)
* adding flake8 linter workflow
* lint only changed files
* move changed files to env variable
* remove filename flag
* remove trailing dot
* rename job
* pass filenames as positional arguments
* pipe filenames to xargs
* change to check pvlib repo
* only lint python files
* missing parenthesis
* skip linting if no Python files edited
* try env instead of output
* reformatting
* create lint issues to try out the new linter
* Revert "create lint issues to try out the new linter"
This reverts commit 31cbb3b.
* create a lint issue in a file with other lint issues
* use flake8 --diff with flake8 5.0.4
* call to git fetch
* use GITHUB_TOKEN for fetching
* set repository read permission
* try using https link to repo instead of ssh
* test if GITHUB_TOKEN permissions are not needed
* add temporary example of linting annotations
* breaking workflow command into more steps
* use base ref variable instead of hard-coding main branch
* update whatsnew and remove lint error example
---------
Co-authored-by: Kevin Anderson <[email protected]>1 parent 27bb4e5 commit 23453b4
File tree
3 files changed
+47
-1
lines changed- .github/workflows
- docs/sphinx/source/whatsnew
3 files changed
+47
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
0 commit comments