Skip to content

Fix the thrown exception message when trying to load imas_core #4

Fix the thrown exception message when trying to load imas_core

Fix the thrown exception message when trying to load imas_core #4

Workflow file for this run

name: linting-and-code-formatting
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout IMAS-Python sources
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install the code linting and formatting tools
run: pip install --upgrade 'black >=24,<25' flake8
- name: Check formatting of code with black
run: black --check imas
- name: Check linting with flake8
run: flake8 imas