Skip to content

Commit ebaedaa

Browse files
committed
syntax
Signed-off-by: Isaac Milarsky <[email protected]>
1 parent 6be517f commit ebaedaa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
${{ runner.os }}-pip-
2121
- run: pip install -r requirements.txt
2222
- run: |
23-
(exit 0); PYLINT_REPORT=$(pylint --init-hook="import sys; sys.path.append('scripts/')" scripts/*)
23+
PYLINT_REPORT=$(./run_pylint.sh)
2424
echo "PYLINT_REPORT=$PYLINT_REPORT" >> $GITHUB_ENV
2525
2626
- uses: LouisBrunner/[email protected]
@@ -30,4 +30,4 @@ jobs:
3030
name: Run Pylint
3131
conclusion: ${{ job.status }}
3232
output: |
33-
{"summary":"${{job.status}}" , "text_description": "$PYLINT_REPORT"}
33+
{"summary":"${{job.status}}" , "text_description": "${{ env.PYLINT_REPORT }}"}

run_pylint.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
pylint --init-hook="import sys; sys.path.append('scripts/')" scripts/*
3+
exit 0

0 commit comments

Comments
 (0)