Skip to content

Merge branch 'main' into snyk-fix-835293a7055ef9cc15efb1f6e0baa087 #600

Merge branch 'main' into snyk-fix-835293a7055ef9cc15efb1f6e0baa087

Merge branch 'main' into snyk-fix-835293a7055ef9cc15efb1f6e0baa087 #600

Workflow file for this run

name: Linters
on: [push]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
- name: Run black
run: |
poetry run black --check .
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install --only linters --no-root
- name: Run ruff
run: |
poetry run ruff check .