Skip to content

fix: Adds Linter CI and maintains formatting across codebase #3

fix: Adds Linter CI and maintains formatting across codebase

fix: Adds Linter CI and maintains formatting across codebase #3

Workflow file for this run

name: Lint Code Base
on:
pull_request:
branches:
- master
jobs:
build:
if: github.repository == 'coronasafe/ayushma'
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_PYTHON_BLACK: true
VALIDATE_PYTHON_FLAKE8: true
VALIDATE_PYTHON_ISORT: true
LINTER_RULES_PATH: /
PYTHON_FLAKE8_CONFIG_FILE: "setup.cfg"
PYTHON_BLACK_CONFIG_FILE: "pyproject.toml"
PYTHON_ISORT_CONFIG_FILE: "pyproject.toml"