FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.github/workflows/reviewdog.yml at savefig · larsoner/matplotlib · GitHub
larsoner
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.github
/
workflows
/
reviewdog.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
54 lines (46 loc) · 1.3 KB
Breadcrumbs
matplotlib
/
.github
/
workflows
/
reviewdog.yml
Copy path
File metadata and controls
54 lines (46 loc) · 1.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
name
:
Linting
on
:
[pull_request]
permissions
:
contents
:
read
checks
:
write
pull-requests
:
write
jobs
:
flake8
:
name
:
flake8
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Set up Python 3
uses
:
actions/setup-python@v4
with
:
python-version
:
3.8
-
name
:
Install flake8
run
:
pip3 install -r requirements/testing/flake8.txt
-
name
:
Set up reviewdog
run
:
|
mkdir -p "$HOME/bin"
curl -sfL \
https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
sh -s -- -b "$HOME/bin"
echo "$HOME/bin" >> $GITHUB_PATH
-
name
:
Run flake8
env
:
REVIEWDOG_GITHUB_API_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
run
:
|
set -o pipefail
flake8 --docstring-convention=all | \
reviewdog -f=pep8 -name=flake8 \
-tee -reporter=github-check -filter-mode nofilter
eslint
:
name
:
eslint
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
name
:
eslint
uses
:
reviewdog/action-eslint@v1
with
:
filter_mode
:
nofilter
github_token
:
${{ secrets.GITHUB_TOKEN }}
reporter
:
github-check
workdir
:
'
lib/matplotlib/backends/web_backend/
'
Back
|
FazBrowse Home
|
New Git URL