Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
pin pylint version
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <pranay.valson@gmail.com>
  • Loading branch information
noslav committed Nov 23, 2023
1 parent 7214e2b commit c797059
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,40 @@ name: pylint
on:
push:
branches:
- "main"
- "main"
pull_request:
branches:
- "main"
- "develop"
branches:
- "main"
- "develop"

jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install pipenv
pipenv --python '3.10' install --dev
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install pipenv
pipenv --python '3.10' install --dev
- name: Analysing the code with pylint
run: |
pipenv run pylint --rcfile=.pylintrc src/*.py
- name: Analysing the code with pylint
run: |
pipenv run pylint --rcfile=.pylintrc src/*.py
- name: Analysing the code with pycodestyle
run: |
pip install pycodestyle
pipenv run pycodestyle src/*.py
- name: Analysing the code with pycodestyle
run: |
pip install pycodestyle==2.10.0
pipenv run pycodestyle src/*.py
# - name: Analysing the code with black
# run: |
# pipenv install --skip-lock "black==22.3.0"
# pipenv run black --check core/views.py core/views_platform.py
# # $(git ls-files '*.py')
# # $(git ls-files '*.py')

0 comments on commit c797059

Please sign in to comment.