Skip to content

Commit bd78ce0

Browse files
authored
Streamline lint_python.yml
1 parent 3af23cb commit bd78ce0

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/lint_python.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11
name: lint_python
2-
on:
3-
pull_request:
4-
push:
5-
# branches: [master]
2+
on: [push, pull_request]
63
jobs:
74
lint_python:
85
runs-on: ubuntu-latest
9-
# strategy:
10-
# matrix:
11-
# os: [ubuntu-latest, macos-latest, windows-latest]
12-
# python-version: [2.7, 3.5, 3.6, 3.7, 3.8] # , pypy3]
136
steps:
147
- uses: actions/checkout@master
158
- uses: actions/setup-python@master
169
- run: pip install black codespell flake8 isort pytest
1710
- run: black --check . || true
18-
# - run: black --diff . || true
19-
# - if: matrix.python-version >= 3.6
20-
# run: |
21-
# pip install black
22-
# black --check .
2311
- run: codespell --quiet-level=2 || true # --ignore-words-list="" --skip=""
2412
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2513
- run: isort --recursive . || true

0 commit comments

Comments
 (0)