Skip to content

Simplify code and general refactoring #473

Simplify code and general refactoring

Simplify code and general refactoring #473

Workflow file for this run

name: Linting
"on":
pull_request:
branches:
- main
push:
branches:
- main
jobs:
linting:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
# https://github.com/actions/checkout
- name: Checkout the code
uses: actions/checkout@v4
# https://github.com/actions/setup-python
- name: set up python
uses: actions/setup-python@v4
with:
cache: 'pip' # caching pip dependencies
python-version: '3.11'
- name: Install dependencies
run: |
set -eux
pip install -r requirements.txt -r requirements.dev.txt
# https://github.com/pre-commit/action
- name: run pre-commit
uses: pre-commit/[email protected]
env:
SKIP: no-commit-to-branch