Skip to content

Enforce LF line endings #502

Enforce LF line endings

Enforce LF line endings #502

Workflow file for this run

name: "PythonCodeValidator"
on: [push, pull_request]
jobs:
formatting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
pip install -r requirements-dev.txt
# a workaround to suppress pip errors about incompatible package versions
pip install astroid==2.9.1
continue-on-error: true
- name: Python information
run: |
set -e
python3 --version
pip freeze
- name: Check formatting
run: make check-black
continue-on-error: true
- name: Check pylint
run: make check-pylint
continue-on-error: true
- name: Check mypy
run: make check-mypy
continue-on-error: true
- name: Check safety
run: make check-safety
continue-on-error: true