Skip to content

[typehints-minor-2-2] #92

[typehints-minor-2-2]

[typehints-minor-2-2] #92

Workflow file for this run

name: file_linting
on:
push:
branches-ignore:
- doc
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
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 dependencies
run: |
python -m pip install --upgrade pip
pip install pylint black
pip install -r requirements.txt
- name: Analysing the code with Pylint
run: |
pylint --rcfile=./.pylintrc --fail-under=7 $(git ls-files 'src/pymultifit/**/*.py')
- name: Linting the code with Black
run: |
black src/pymultifit/ -C -l 120