pip(deps-dev): bump mypy from 1.13.0 to 1.14.0 #1054
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
name: PBM Code Quality | |
on: [pull_request] | |
jobs: | |
type_validation: | |
name: Mypy Type Validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Poetry | |
run: python -m pip install poetry | |
- name: Run Mypy | |
run: | | |
poetry install | |
poetry run mypy --check-untyped-defs power_balance/ | |
modelica_syntax_validation: | |
name: Modelica Syntax Checking | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Modelica Code Check | |
run: | | |
git clone https://github.com/modelica-tools/ModelicaSyntaxChecker.git | |
${GITHUB_WORKSPACE}/ModelicaSyntaxChecker/Linux64/moparser -c -l -r power_balance/ | |
bandit_security_check: | |
name: Bandit Security Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jpetrucciani/bandit-check@master | |
with: | |
bandit_flags: '-c bandit.yml' | |
path: power_balance | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
ruff_linter: | |
name: Run Ruff Python Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff | |
- name: Run Ruff | |
run: ruff check --output-format=github . |