Skip to content

Fix broken TopoNetX imports in original notebooks + Clean code style in first 4 PRs #752

Fix broken TopoNetX imports in original notebooks + Clean code style in first 4 PRs

Fix broken TopoNetX imports in original notebooks + Clean code style in first 4 PRs #752

Workflow file for this run

name: "Lint"
on:
push:
branches: [main,github-actions-test]
pull_request:
branches: [main]
jobs:
black-isort-flake8:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.11.3]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Linting
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: install dependencies [pip]
run: |
pip install black==22.6.0 isort==5.10.1
- name : linting [black, isort, flake8]
run: |
black . --check
isort --profile black --check .