Skip to content

Merge pull request #16 from mundialis/add_file_import #61

Merge pull request #16 from mundialis/add_file_import

Merge pull request #16 from mundialis/add_file_import #61

Workflow file for this run

name: Code quality check
on: [push]
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install apt dependencies
run: |
sudo apt-get update && sudo apt-get install python3 python3-pip -y
- name: Install pip dependencies
run: |
pip3 install flake8 pylint
- name: Lint with Flake8
run: |
# E402: module level import not at top of file
flake8 --ignore=E265,F821,E501,W503,E203,E402 --max-line-length=80 --count --statistics --show-source .
# - name: Lint with Pylint
# run: |
# pylint --disable=R,bad-continuation,fixme,import-error --additional-builtins=_ --reports=n --score=n -j0 ${{ github.event.repository.name }}.py