Skip to content

cmems obs script updates #556

cmems obs script updates

cmems obs script updates #556

Workflow file for this run

name: Lint Python
on:
push:
branches: [ master, ]
paths:
- '**.py'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
paths:
- '**.py'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "3.12.0"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install isort black flake8 flake8-isort flake8-black
- name: Analysing the code with pylint
run: |
isort .
black .