Skip to content

Commit

Permalink
Merge pull request #46 from RSE-Sheffield/chore/sort-imports
Browse files Browse the repository at this point in the history
Exclude migrations in workflow
  • Loading branch information
f-allian authored Jan 20, 2025
2 parents 91c0a28 + 16af955 commit 7728546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Lint Python code
run: |
dirs="SORT home survey invites"
isort $dirs
black $dirs
flake8 $dirs
isort $dirs --skip-glob '*/migrations/*'
black $dirs --exclude '/migrations/'
flake8 $dirs --exclude '*/migrations/*'
# Suggest merging any changes
- name: Create Pull Request
# https://github.com/marketplace/actions/create-pull-request
Expand Down

0 comments on commit 7728546

Please sign in to comment.