Skip to content

Update code_style.yml #16

Update code_style.yml

Update code_style.yml #16

Workflow file for this run

name: Code style checks
on: [pull_request]
jobs:
black:
name: Check black compliance.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
- name: Black
uses: psf/black@stable
with:
options: "--config pyproject.toml --check"
src: "."
docstring:
name: Check docstring compliance.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
- name: Install interrogate
run: python -m pip install interrogate
- name: Run interrogate
run: interrogate .