File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,15 @@ jobs:
18
18
- name : Install Python Dependencies
19
19
uses : HassanAbouelela/actions/setup-python@setup-python_v1.6.0
20
20
with :
21
- dev : true
22
21
python_version : " 3.12"
22
+ install_args : " --only dev"
23
23
24
- # Use this formatting to show them as GH Actions annotations.
25
- - name : Run flake8
26
- run : |
27
- flake8 --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s'
24
+ - name : Run pre-commit hooks
25
+ run : SKIP=ruff-lint pre-commit run --all-files
26
+
27
+ # Run `ruff` using github formatting to enable automatic inline annotations.
28
+ - name : Run ruff
29
+ run : " ruff check --output-format=github ."
28
30
29
31
# Prepare the Pull Request Payload artifact. If this fails, we
30
32
# we fail silently using the `continue-on-error` option. It's
@@ -117,5 +119,5 @@ jobs:
117
119
namespace : forms
118
120
manifests : |
119
121
deployment.yaml
120
- images : ' ghcr.io/python-discord/forms-backend:${{ steps.sha_tag.outputs.tag }}'
121
- kubectl-version : ' latest'
122
+ images : " ghcr.io/python-discord/forms-backend:${{ steps.sha_tag.outputs.tag }}"
123
+ kubectl-version : " latest"
You can’t perform that action at this time.
0 commit comments