Skip to content

Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai… #1

Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai…

Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai… #1

Workflow file for this run

name: imas-python
on: [push]

Check failure on line 3 in .github/workflows/liniting.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/liniting.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
branches:
- main
- rename-imaspy-to-imas
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout imas-python sources
uses: actions/checkout@v4
with:
ref: rename-imaspy-to-imas
- 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