fix: Rebased #3
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 | |
on: push | |
jobs: | |
lint: | |
name: Lint with pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- name: Install pre-commit | |
run: python -m pip install -r requirements_dev.txt | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files trailing-whitespace | |
pre-commit run --all-files mixed-line-ending | |
pre-commit run --all-files end-of-file-fixer | |
pre-commit run --all-files requirements-txt-fixer | |
pre-commit run --all-files check-xml | |
pre-commit run --all-files check-merge-conflict | |
pre-commit run --all-files check-case-conflict | |
pre-commit run --all-files check-docstring-first | |
pre-commit run --all-files black | |
pre-commit run --all-files flake8 | |
pre-commit run --all-files prettier | |
pre-commit run --all-files check-yaml |