Skip to content

Commit

Permalink
ci: Add pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jan 3, 2024
1 parent f91d30b commit ace071e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
################
# Verible Lint #
################
lint:
verible-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -81,6 +81,26 @@ jobs:
fail_on_error: true
reviewdog_reporter: github-check


##########
# PyLint #
##########
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
#################
# Check License #
#################
Expand Down

0 comments on commit ace071e

Please sign in to comment.