Skip to content

Update code_formatter.yml #195

Update code_formatter.yml

Update code_formatter.yml #195

Workflow file for this run

name: Линтер кода
on:
push:
branches:
- PolGen
pull_request:
branches:
- PolGen
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Проверка кода
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Настройка Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Установка зависимостей
run: |
python -m pip install --upgrade pip
pip install flake8 pylint vulture
- name: Запуск flake8
run: flake8 .
continue-on-error: true
- name: Запуск PyLint
run: pylint .
continue-on-error: true
- name: Запуск Vulture
run: vulture .
continue-on-error: true