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 <kevin.anderso@gmail.com>1 parent 27bb4e5 commit 23453b4Copy full SHA for 23453b4
File tree
Expand file treeCollapse file tree
3 files changed
+47
-1
lines changedOpen diff view settings
Filter options
- .github/workflows
- docs/sphinx/source/whatsnew
Expand file treeCollapse file tree
3 files changed
+47
-1
lines changedOpen diff view settings
Collapse file
.github/workflows/flake8-linter-matcher.json
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| 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 | + |
Collapse file
.github/workflows/flake8.yml
Copy file name to clipboard+27Lines changed: 27 additions & 0 deletions
| 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 | + |
Collapse file
docs/sphinx/source/whatsnew/v0.10.2.rst
Copy file name to clipboardExpand all lines: docs/sphinx/source/whatsnew/v0.10.2.rst+3-1Lines changed: 3 additions & 1 deletion
- Display the source diff
- Display the rich diff
| 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