mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-06 00:23:58 +00:00
Upgrade to isort 5 (#2164)
* Upgrade to isort 5 isort 5 now can also handle imports not at top, hence some new locations now get sorted automatically. * Move isort config from .isort.cfg to pyproject.toml * isort: remove exclusion of some source files isort now only ignores auto-generated files. The other files had been excluded because old isort could not handle imports not placed on the top. * isort: use skip_glob to ignore resources.py This should fix issues with the `skip` parameter on Windows.
This commit is contained in:
2
.github/workflows/run-tests.yml
vendored
2
.github/workflows/run-tests.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
pip install -r requirements.txt
|
||||
- name: Check coding style
|
||||
run: |
|
||||
pip install flake8 "isort<5"
|
||||
pip install flake8 "isort>=5"
|
||||
flake8 picard test --count --show-source --statistics
|
||||
isort --check-only --diff --recursive picard test
|
||||
- name: Test with pytest
|
||||
|
||||
Reference in New Issue
Block a user