Skip to content

add configuration files for flake8 and pre-commit, and update mypy se… #2

add configuration files for flake8 and pre-commit, and update mypy se…

add configuration files for flake8 and pre-commit, and update mypy se… #2

Workflow file for this run

name: pre-commit
on:
pull_request:
branches: [ main ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --all-files