Changes for reading and post-processing OpenPMD data files #236
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
name: Lint | |
on: [push, pull_request] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.8' ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install black | |
python -m pip install isort | |
python -m pip install flake8 | |
- name: Black | |
run: black . --check | |
- name: Isort | |
run: isort --profile black --check . | |
- name: Flake8 | |
run: flake8 . |