diff --git a/.github/workflows/PythonLint.yml b/.github/workflows/PythonLint.yml new file mode 100644 index 0000000..fb39754 --- /dev/null +++ b/.github/workflows/PythonLint.yml @@ -0,0 +1,21 @@ +name: Python Linting + +on: [push] + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install -U pip + pip install -r requirements.txt + - name: Flake8 Lint + run: | + pip install flake8 + flake8 --max-line-length=120 --show-source