vanandrew / warpkit

Python library for neuroimaging transforms.
Other
6 stars 2 forks source link

Run isort and add docstrings #13

Closed tsalo closed 5 months ago

tsalo commented 5 months ago

These are just miscellaneous changes I've been making on my fork. Apologies for the unsolicited PR, but I figure this should be separate from the PR where I address #12.

vanandrew commented 5 months ago

Cool. For while you have this PR up. Can you add isort to the pre-commit hook? It should probably look like this:

repos:
- repo: local
  hooks:
    - id: black
      name: black
      entry: black
      language: system
      types: [python]
    - id: isort
      name: isort
      entry: isort
      language: system
      types: [python]

for the .pre-commit-config.yaml file.

tsalo commented 5 months ago

I had some functional changes but reverted them all, so this should just include the formatting/docs ones.