mo2fmu: Check omc can be run #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint source code | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install | |
run: | | |
sudo apt-get install python3-pip | |
pip3 install flake8 doc8 | |
- name: Run linter | |
run: | | |
flake8 --ignore=W503 --max-line-length 130 | |
doc8 doc/ --max-line-length=130 | |