Skip to content

Merge pull request #69 from Lightricks/feature/staging-0.1.2 #29

Merge pull request #69 from Lightricks/feature/staging-0.1.2

Merge pull request #69 from Lightricks/feature/staging-0.1.2 #29

Workflow file for this run

name: Ruff
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.2.2 black==24.2.0
- name: Analyzing the code with ruff
run: |
ruff $(git ls-files '*.py')
- name: Verify that no Black changes are required
run: |
black --check $(git ls-files '*.py')