Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hardiksharma11 authored Feb 12, 2024
1 parent d4d6a06 commit 0d457f9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Get Python changed files # Identifies changed Python files
id: changed-py-files
uses: tj-actions/changed-files@v23
with:
files: |
*.py
**/*.py
- name: Analysing the code with pylint
if: steps.changed-py-files.outputs.any_changed == 'true'
run: |
pylint ${{ steps.changed-py-files.outputs.all_changed_files }}
pylint $(git ls-files '*.py')

0 comments on commit 0d457f9

Please sign in to comment.