Skip to content

Commit

Permalink
rework pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Nov 4, 2024
1 parent f047b30 commit 6623cc8
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,5 @@ jobs:
git ls-files './apps/data_handler/*.py'
- name: Run Pylint
run: |
PYTHON_FILES=$(find ./apps/data_handler -name "*.py")
if [ -n "$PYTHON_FILES" ]; then
echo "Files to lint: $PYTHON_FILES"
python -m pylint $PYTHON_FILES --disable=all --enable=C0114,C0115,C0116,C0301 --max-line-length=150
else
echo "No Python files found in apps/data_handler/"
exit 1
fi
run:
pylint $(git ls-files 'data_handler/*.py') --disable=all --enable=C0114,C0115,C0116,C0301

0 comments on commit 6623cc8

Please sign in to comment.