Dgl nagl update (#13) #73
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: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Python Setup | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install lint | |
shell: bash | |
run: | | |
pip install black isort Flake8-pyproject | |
- name: Run black | |
shell: bash | |
run: | | |
black naglmbis --check | |
- name: Run isort | |
shell: bash | |
run: | | |
isort --check-only naglmbis | |
- name: Run flake8 | |
shell: bash | |
run: | | |
flake8 naglmbis |