Skip to content

Fm/vcs link

Fm/vcs link #613

Workflow file for this run

# Copyright (C) 2025 Siemens
#
# SPDX-License-Identifier: MIT
name: Lint Python Code
on:
push:
branches:
- main
pull_request:
jobs:
format:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check code formatting with black
run: |
black --check --diff $(git ls-files '*.py')