Skip to content

Add GitHub workflows to lint code scripts and copyright #1

Add GitHub workflows to lint code scripts and copyright

Add GitHub workflows to lint code scripts and copyright #1

Workflow file for this run

name: Lint Imports with isort
on:
pull_request:
branches:
- main # Adjust based on your default branch
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # Specify the Python version you are using
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install isort
- name: Run isort
run: |
isort --check-only --diff .