Skip to content

chore(deps): update dependency pre-commit to v4 (#290) #1053

chore(deps): update dependency pre-commit to v4 (#290)

chore(deps): update dependency pre-commit to v4 (#290) #1053

Workflow file for this run

name: Linting
on:
push:
pull_request:
branches: [master]
jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dev dependencies
run: |
pip install -r requirements-dev.txt
- name: Lint with Black
run: |
black --check .
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics