Skip to content

Lint the source code with Fortitude #7

Lint the source code with Fortitude

Lint the source code with Fortitude #7

Workflow file for this run

name: Lint Source Code
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
name: Lint Source Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Fortitude
run: pip install fortitude-lint
- name: Lint the source code
run: fortitude check --ignore=E001,S001,S101,M011,F001,S041,T001 ./src/*/* || true >> lint.txt
- name: Print
- run: cat lint.txt
cat lint.txt << EOF >> $GITHUB_STEP_SUMMARY