3636 - name : 🚀 Run ruff formatter
3737 run : poetry run ruff format --check .
3838
39- pre-commit -hooks :
40- name : pre-commit -hooks
39+ prek -hooks :
40+ name : prek -hooks
4141 runs-on : ubuntu-latest
4242 steps :
4343 - name : ⤵️ Check out code from GitHub
@@ -57,31 +57,31 @@ jobs:
5757 - name : 🏗 Install Python dependencies
5858 run : poetry install --no-interaction
5959 - name : 🚀 Check Python AST
60- run : poetry run pre-commit run check-ast --all-files
60+ run : poetry run prek run check-ast --all-files
6161 - name : 🚀 Check for case conflicts
62- run : poetry run pre-commit run check-case-conflict --all-files
62+ run : poetry run prek run check-case-conflict --all-files
6363 - name : 🚀 Check docstring is first
64- run : poetry run pre-commit run check-docstring-first --all-files
64+ run : poetry run prek run check-docstring-first --all-files
6565 - name : 🚀 Check that executables have shebangs
66- run : poetry run pre-commit run check-executables-have-shebangs --all-files
66+ run : poetry run prek run check-executables-have-shebangs --all-files
6767 - name : 🚀 Check JSON files
68- run : poetry run pre-commit run check-json --all-files
68+ run : poetry run prek run check-json --all-files
6969 - name : 🚀 Check for merge conflicts
70- run : poetry run pre-commit run check-merge-conflict --all-files
70+ run : poetry run prek run check-merge-conflict --all-files
7171 - name : 🚀 Check for broken symlinks
72- run : poetry run pre-commit run check-symlinks --all-files
72+ run : poetry run prek run check-symlinks --all-files
7373 - name : 🚀 Check TOML files
74- run : poetry run pre-commit run check-toml --all-files
74+ run : poetry run prek run check-toml --all-files
7575 - name : 🚀 Check XML files
76- run : poetry run pre-commit run check-xml --all-files
76+ run : poetry run prek run check-xml --all-files
7777 - name : 🚀 Check YAML files
78- run : poetry run pre-commit run check-yaml --all-files
78+ run : poetry run prek run check-yaml --all-files
7979 - name : 🚀 Detect Private Keys
80- run : poetry run pre-commit run detect-private-key --all-files
80+ run : poetry run prek run detect-private-key --all-files
8181 - name : 🚀 Check End of Files
82- run : poetry run pre-commit run end-of-file-fixer --all-files
82+ run : poetry run prek run end-of-file-fixer --all-files
8383 - name : 🚀 Trim Trailing Whitespace
84- run : poetry run pre-commit run trailing-whitespace --all-files
84+ run : poetry run prek run trailing-whitespace --all-files
8585
8686 yamllint :
8787 name : yamllint
0 commit comments