@@ -54,31 +54,10 @@ jobs:
5454 poetry config virtualenvs.in-project true
5555 - name : 🏗 Install Python dependencies
5656 run : poetry install --no-interaction
57- - name : 🚀 Run Ruff
58- run : poetry run ruff .
59-
60- black :
61- name : black
62- runs-on : ubuntu-latest
63- steps :
64- - name : ⤵️ Check out code from GitHub
65- 66- - name : 🏗 Set up Poetry
67- run : pipx install poetry
68- - name : 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
69- id : python
70- 71- with :
72- python-version : ${{ env.DEFAULT_PYTHON }}
73- cache : " poetry"
74- - name : 🏗 Install workflow dependencies
75- run : |
76- poetry config virtualenvs.create true
77- poetry config virtualenvs.in-project true
78- - name : 🏗 Install Python dependencies
79- run : poetry install --no-interaction
80- - name : 🚀 Run black on docs
81- run : poetry run blacken-docs
57+ - name : 🚀 Run ruff linter
58+ run : poetry run ruff check --output-format=github .
59+ - name : 🚀 Run ruff formatter
60+ run : poetry run ruff format --check .
8261
8362 pre-commit-hooks :
8463 name : pre-commit-hooks
@@ -116,10 +95,6 @@ jobs:
11695 run : poetry run pre-commit run check-symlinks --all-files
11796 - name : 🚀 Check TOML files
11897 run : poetry run pre-commit run check-toml --all-files
119- - name : 🚀 Check XML files
120- run : poetry run pre-commit run check-xml --all-files
121- - name : 🚀 Check YAML files
122- run : poetry run pre-commit run check-yaml --all-files
12398 - name : 🚀 Check YAML files
12499 run : poetry run pre-commit run check-yaml --all-files
125100 - name : 🚀 Detect Private Keys
0 commit comments