mirror of https://github.com/mingrammer/diagrams
https://github.com/mingrammer/diagrams/actions https://github.com/cclauss/diagrams/actionspull/42/head
parent
847cf46395
commit
a82c911313
@ -0,0 +1,18 @@
|
||||
name: lint_python
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
# branches: [master]
|
||||
jobs:
|
||||
lint_python:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-python@master
|
||||
- run: pip install black codespell flake8 isort pytest
|
||||
- run: black . --diff || true
|
||||
- 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 . || true
|
Loading…
Reference in new issue