Skip to content

✨ Allow object relation to bijdrage zaken based on label fil… #352

✨ Allow object relation to bijdrage zaken based on label fil…

✨ Allow object relation to bijdrage zaken based on label fil… #352

Workflow file for this run

name: Code quality checks
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- master
tags:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
workflow_dispatch:
jobs:
isort:
name: Check import sorting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: isort/[email protected]
with:
requirementsFiles: requirements/dev.txt
sortPaths: "src doc"
configuration: '--check-only --diff'
black:
name: Check code formatting with black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install -r requirements/dev.txt
- name: Run black
run: |
black --check src doc