2021-03-30 10:56:17 +00:00
|
|
|
name: Style Checks
|
|
|
|
|
2021-03-31 05:24:33 +00:00
|
|
|
on: ["push", "pull_request"]
|
2021-03-30 10:56:17 +00:00
|
|
|
|
|
|
|
jobs:
|
2021-03-31 01:41:39 +00:00
|
|
|
style:
|
2021-03-30 10:56:17 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
max-parallel: 4
|
|
|
|
matrix:
|
|
|
|
python-version: [3.7]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install deps
|
|
|
|
run: |
|
|
|
|
pip install flake8==3.8.3
|
|
|
|
pip install pep8-naming==0.11.1
|
2021-03-31 06:08:24 +00:00
|
|
|
- name: flake8
|
|
|
|
run: |
|
2021-03-30 10:56:17 +00:00
|
|
|
flake8 InvenTree
|