Filter paths for isort

This commit is contained in:
Patrick Kanzler 2023-08-14 02:44:23 +02:00 committed by GitHub
parent 1b4230fdd9
commit 7adba39501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ jobs:
uses: isort/isort-action@master uses: isort/isort-action@master
with: with:
requirementsFiles: "requirements.txt doc/requirements.txt" requirementsFiles: "requirements.txt doc/requirements.txt"
sortPaths: ['doc', 'src', 'examples', 'test', 'setup.py']
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names