Skip to content

Code Quality Improvements and Development Infrastructure Updates #2

Code Quality Improvements and Development Infrastructure Updates

Code Quality Improvements and Development Infrastructure Updates #2

Workflow file for this run

name: Pre-commit
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit ruff
- name: Run pre-commit
run: |
pre-commit install
pre-commit run --all-files