FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
PythonExample/.github/workflows/lint_python.yml at master · danielgxm/PythonExample · GitHub
danielgxm
/
PythonExample
Public
forked from
geekcomputers/Python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
PythonExample
/
.github
/
workflows
/
lint_python.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
27 lines (27 loc) · 892 Bytes
Breadcrumbs
PythonExample
/
.github
/
workflows
/
lint_python.yml
Copy path
File metadata and controls
27 lines (27 loc) · 892 Bytes
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
name
:
lint_python
on
:
pull_request
:
push
:
#
branches: [master]
jobs
:
lint_python
:
runs-on
:
ubuntu-latest
#
strategy:
#
matrix:
#
os: [ubuntu-latest, macos-latest, windows-latest]
#
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] # , pypy3]
steps
:
-
uses
:
actions/checkout@master
-
uses
:
actions/setup-python@master
-
run
:
pip install black codespell flake8 isort pytest
-
run
:
black --check . || true
#
- run: black --diff . || true
#
- if: matrix.python-version >= 3.6
#
run: |
#
pip install black
#
black --check .
-
run
:
codespell --quiet-level=2 || true
#
--ignore-words-list="" --skip=""
-
run
:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
-
run
:
isort --recursive . || true
-
run
:
pip install -r requirements.txt || true
-
run
:
pytest .
Back
|
FazBrowse Home
|
New Git URL