version dependent networkx (#266) #327
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 and Format | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: master | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allows other workflows to trigger this workflow | |
workflow_call: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
with: # the --extend-select flag adds import sorting | |
args: check . --extend-select I | |
- uses: chartboost/ruff-action@v1 | |
with: | |
args: format . --check |