Skip to content

Commit

Permalink
add isort config
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Aug 22, 2023
1 parent df85125 commit 5326b34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: black --check neurodocker

- name: Run isort
run: isort --diff --check .
run: isort --diff --check --settings-path pyproject.toml .

typecheck:

Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[tool.isort]
combine_as_imports = true
line_length = 88
profile = "black"
skip_gitignore = true
src_paths = [
'neurodocker',
'docs'
]
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""Setup script for neurodocker."""

from setuptools import setup

import versioneer
from setuptools import setup

version = versioneer.get_version()
cmdclass = versioneer.get_cmdclass()
Expand Down

0 comments on commit 5326b34

Please sign in to comment.