Skip to content

apply isort

apply isort #58

Workflow file for this run

name: format
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install isort and black
run: pip install isort black
- name: Run black
run: black . --check --verbose --diff --color --exclude="/*.ipynb/"
- name: Run isort
run: cd meta-rl && isort . --check --diff --profile black
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
args: --extend-ignore F401,E203,B006
max-line-length: "88"
plugins: "flake8-bugbear flake8-black"