Skip to content

add pylint to pre-commit #7

add pylint to pre-commit

add pylint to pre-commit #7

Workflow file for this run

name: Pre-Commit Checks
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
cache: "pip"
- name: Install requirements
run: |
pip install -U pip
pip install pylint
pip install -U black
- name: Log installed environment
run: |
python3 -m pip freeze
- uses: pre-commit/[email protected]