1.3.0 ( 7/* - Renewal Process... ) BACKUP #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Линтер кода | |
on: | |
push: | |
branches: | |
- dev/PolGen-Lite | |
pull_request: | |
branches: | |
- dev/PolGen-Lite | |
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 |