fix #146
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: Установка flake8 | |
run: | | |
pip install flake8 | |
- name: Запуск flake8 | |
run: flake8 . | |
continue-on-error: true |