Skip to content

Added a pre-commit config file and reformatted all the files accordingly using it. #279

Added a pre-commit config file and reformatted all the files accordingly using it.

Added a pre-commit config file and reformatted all the files accordingly using it. #279

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
pull_request:
jobs:
pylint:
runs-on: ubuntu-20.04
name: pylint
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libgl1-mesa-glx -y
python -m pip install --upgrade pip
python -m pip install pylint
python -m pip install ${{github.workspace}}/examples/resources/third_party/*
python -m pip install -r ${{github.workspace}}/requirements.txt
- name: Analysing code of core with pylint
run: |
pylint '${{github.workspace}}/core'