Updated draft post referee report #43
Workflow file for this run
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: Linting | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Upgrade pip and install linters | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 pydocstyle packaging | |
- name: flake8 PEP compliance checks | |
run: python -m flake8 | |
- name: pydocstyle documentation style checks | |
run: python -m pydocstyle --convention=numpy |