Skip to content

refactor: improve readability, error handling, and performance in Dat… #1984

refactor: improve readability, error handling, and performance in Dat…

refactor: improve readability, error handling, and performance in Dat… #1984

Workflow file for this run

name: Run pre-commit hooks
on:
workflow_dispatch:
pull_request:
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout Elementary
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4.3.0
with:
python-version: "3.8"
# mainly needed so mypy will have the dependencies it needs
- name: Install elementary
run: pip install -e .
- name: Install dev requirements
run: pip install -r dev-requirements.txt
- name: Run pre-commit hooks
run: pre-commit run --all-files --show-diff-on-failure