Bump power grid model to 1.6.x #1119
Workflow file for this run
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
# SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <[email protected]> | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: Check Code Quality | |
on: | |
push: | |
branches: | |
- main | |
# run pipeline on pull request | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
check-code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Upgrade pip | |
run: pip install --upgrade pip | |
- name: Install and run isort | |
run: | | |
pip install isort | |
isort . | |
- name: Install and run black | |
run: | | |
pip install black | |
black . | |
- name: Install and run mypy | |
run: | | |
pip install mypy | |
mypy src | |
- name: Install and run pylint | |
run: | | |
pip install pylint . | |
pylint power_grid_model_io |