Skip to content

Commit e55ee96

Browse files
committed
Removing isort, causes more issues than it solves
1 parent aac356a commit e55ee96

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
run: |
3939
python -m flake8 pcpostprocess
4040
41-
- name: Check import ordering with isort
42-
if: ${{ matrix.python-version == env.python-latest }}
43-
run: |
44-
python -m isort --verbose --check-only --diff pcpostprocess tests setup.py
45-
4641
- name: Extract test data
4742
run: |
4843
wget https://cardiac.nottingham.ac.uk/syncropatch_export/test_data.tar.xz -P tests/

CONTRIBUTING.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,6 @@ In addition to the rules checked by flake8, we try to use single quotes (`'`) fo
6262

6363
Class, method, and argument names are in UK english.
6464

65-
### Import ordering
66-
67-
Import ordering is tested with [isort](https://pycqa.github.io/isort/index.html).
68-
69-
To run locally, use
70-
```
71-
isort --check-only --verbose ./pcpostprocess ./tests/
72-
```
73-
74-
Isort is configured in [pyproject.toml](./pyproject.toml) under the section `tool.isort`.
75-
7665
## Documentation
7766

7867
Every method and every class should have a [docstring](https://www.python.org/dev/peps/pep-0257/) that describes in plain terms what it does, and what the expected input and output is.

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ include = [
6666
'pcpostprocess',
6767
]
6868

69-
[tool.isort]
70-
skip = ['_version.py']
71-
7269
[tool.coverage.run]
7370
source = [
7471
'pcpostprocess',

0 commit comments

Comments
 (0)