add pep8 check in examples and tests
@@ -22,7 +22,7 @@ on:
jobs:
check:
- name: check_pep_8
+ name: check pep8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -30,8 +30,9 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v2
with:
- python-version: 3.7
- - uses: ricardochaves/python-lint@v1.1.0
+ python-version: 3.8
+ - name: check pep8 in source files
+ uses: ricardochaves/python-lint@v1.3.0
with:
python-root-list: "avalanche/"
use-pylint: false
@@ -46,3 +47,35 @@ jobs:
extra-black-options: ""
extra-mypy-options: ""
extra-isort-options: ""
+ - name: check pep8 in examples
+ uses: ricardochaves/python-lint@v1.3.0
+ with:
+ python-root-list: "examples/"
+ use-pylint: false
+ use-pycodestyle: true
+ use-flake8: false
+ use-black: false
+ use-mypy: false
+ use-isort: false
+ extra-pylint-options: ""
+ extra-pycodestyle-options: ""
+ extra-flake8-options: ""
+ extra-black-options: ""
+ extra-mypy-options: ""
+ extra-isort-options: ""
+ - name: check pep8 in tests
+ uses: ricardochaves/python-lint@v1.3.0
+ with:
+ python-root-list: "tests/"
+ use-pylint: false
+ use-pycodestyle: true
+ use-flake8: false
+ use-black: false
+ use-mypy: false
+ use-isort: false
+ extra-pylint-options: ""
+ extra-pycodestyle-options: ""
+ extra-flake8-options: ""
+ extra-black-options: ""
+ extra-mypy-options: ""
+ extra-isort-options: ""
\ No newline at end of file
