fix(serializer): Fix PhysicalComponent
serializer
#145
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
# Copyright DB Netz AG and contributors | |
# SPDX-License-Identifier: CC0-1.0 | |
name: Lint | |
on: | |
push: | |
branches: ["*"] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Upgrade pip | |
run: |- | |
python -m pip install -U pip | |
- name: Install pre-commit | |
run: |- | |
python -m pip install pre-commit types-docutils | |
- name: Run Pre-Commit | |
run: |- | |
pre-commit run --all-files | |
pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Upgrade pip | |
run: |- | |
python -m pip install -U pip | |
- name: Install pylint | |
run: |- | |
python -m pip install pylint | |
- name: Run pylint | |
run: |- | |
pylint -dfixme capella2polarion || exit $(($? & ~24)) |