Fix broken TopoNetX imports in original notebooks + Clean code style in first 4 PRs #754
Workflow file for this run
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: | |
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 . | |