Skip to content

Linting code for kedhammar #11

Linting code for kedhammar

Linting code for kedhammar #11

Workflow file for this run

name: lint-code
run-name: Linting code for ${{ github.actor }}
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install dependenciess
run: |
python -m pip install --upgrade pip
pip install isort ruff mypy
- name: ruff --> Check for style violations
run: ruff check .
- name: isort --> Check for best-practice sorting of imports
run: isort .
- name: ruff --> Check code formatting
run: ruff format --check .
- name: mypy --> Static type checking
run: mypy --ignore-missing-imports --follow-imports=skip --exclude build .