Merge pull request #31 from covid19-bh-biostats/dependabot/pip/pip-23.3 #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run flake8 linting | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.7, 3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
name: Check out source-code repository | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
flake8 . |