Skip to content

Merge pull request #2 from ACornuIGN/dev #5

Merge pull request #2 from ACornuIGN/dev

Merge pull request #2 from ACornuIGN/dev #5

Workflow file for this run

name: Lint_python
on:
push:
branches: [main]
tags:
pull_request:
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.13
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint flake8
- name: Analysing the code with pylint
run: |
pylint pink_lady.py src/reader/manage_reader.py src/reader/reader_opk.py src/shot.py src/worksite.py src/writer/writer.py
continue-on-error: true
- name: Analysing the code with flake8
run: |
flake8 --max-line-length 100 pink_lady.py src/reader/manage_reader.py src/reader/reader_opk.py src/shot.py src/worksite.py src/writer/writer.py