Skip to content

Commit

Permalink
Added isort in github action
Browse files Browse the repository at this point in the history
Co-authored-by: Abhiram <[email protected]>
  • Loading branch information
bhavberi and abhiramtilakiiit committed Jun 7, 2024
1 parent e5739c4 commit c6cc56c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install ruff
pip install isort
- name: Lint with ruff
run: ruff check --fix *.py

- name: Format with ruff
run: ruff format *.py

- name: isort packages for python files
run: isort models.py otypes.py utils.py

- name: Remove ruff cache
run: rm -rf .ruff_cache
Expand Down

0 comments on commit c6cc56c

Please sign in to comment.