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

run black formatter; pass ci/cd #126

run black formatter; pass ci/cd

run black formatter; pass ci/cd #126

Workflow file for this run

name: pylint
on:
push:
branches:
- "main"
pull_request:
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
- 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 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')