Fix security level sanitization. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint (Ruff, MyPy) | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: apt-get update | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: | | |
sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y | |
pip install -r requirements/dev_requirements.txt | |
- name: Run pre-commit | |
run: pre-commit run --all-files |