Skip to content

Add pylint and fix suggestions #182

Add pylint and fix suggestions

Add pylint and fix suggestions #182

Workflow file for this run

name: Test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout
uses: actions/checkout@v3
- name: Install tox
run: python -m pip install tox
- name: Run tox
run: tox -v
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: python -m pip install -r requirements-dev.txt
- run: black --check --diff .
- run: pylint src
doc:
runs-on: ubuntu-latest
steps:
- name: Setup python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout pgspot
uses: actions/checkout@v3
- name: Ensure docs up-to-date
run: |
./gendoc
git diff --exit-code