Skip to content

Merge pull request #688 from Terralego/dependabot/pip/psycopg2-2.9.10 #1708

Merge pull request #688 from Terralego/dependabot/pip/psycopg2-2.9.10

Merge pull request #688 from Terralego/dependabot/pip/psycopg2-2.9.10 #1708

Workflow file for this run

name: Linting
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DEBIAN_FRONTEND: noninteractive
jobs:
flake8:
name: Flake8 check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-cache-requirements
with:
requirements: dev-requirements.txt
- name: Flake8
run: |
flake8 project
isort:
name: iSort check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-cache-requirements
with:
requirements: dev-requirements.txt
- name: Isort
run: |
isort -c project
black:
name: Black check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-cache-requirements
with:
requirements: dev-requirements.txt
- name: Black
run: |
black --check project