Skip to content

Merge pull request #97 from atlanticwave-sdx/58.ruff #70

Merge pull request #97 from atlanticwave-sdx/58.ruff

Merge pull request #97 from atlanticwave-sdx/58.ruff #70

Workflow file for this run

# Run some code checks with GitHub Actions.
name: Code checks
on:
push:
branches:
- "main"
- "develop"
pull_request:
permissions:
contents: read
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: 'pip' # cache pip dependencies
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black isort
- name: Run "black --check"
run: |
python -m black --check .
- name: Run "isort --check"
run: |
python -m isort --check --profile black .