Skip to content

Commit

Permalink
Run black (PennLINC#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Jan 27, 2024
1 parent 0ab0943 commit f84987e
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions aslprep/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A way to run the ASLPrep CLI with a Python call."""

from aslprep.cli.run import main

if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions aslprep/_warnings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Manipulate Python warnings."""

import logging
import warnings

Expand Down
1 change: 1 addition & 0 deletions aslprep/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.. autoclass:: Loader
"""

from __future__ import annotations

import atexit
Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/ants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""ANTS interfaces."""

from nipype.interfaces.base import traits
from nipype.utils.filemanip import fname_presuffix
from niworkflows.interfaces.fixes import (
Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/bids.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Adapted interfaces from Niworkflows."""

from json import loads

from bids.layout import Config
Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/cbf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Interfaces for calculating CBF."""

import os
from numbers import Number

Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/plotting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Plotting interfaces."""

import nibabel as nb
import numpy as np
import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/reference.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Interfaces for building reference images."""

import nibabel as nb
import pandas as pd
from nipype.interfaces.base import (
Expand Down
1 change: 1 addition & 0 deletions aslprep/interfaces/utility.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility interfaces for ASLPrep."""

import os

import nibabel as nb
Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Fixtures for the CircleCI tests."""

import base64
import os

Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Command-line interface tests."""

import os

import pytest
Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/test_interfaces_cbf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the aslprep.interfaces.cbf submodule."""

import os

import nibabel as nb
Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/test_parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test parser."""

import pytest
from packaging.version import Version

Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/test_utils_cbf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the aslprep.utils.cbf module."""

import numpy as np

from aslprep.utils import cbf
Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/test_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test version checks."""

from datetime import datetime
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions aslprep/tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions for tests."""

import os
import tarfile
from contextlib import contextmanager
Expand Down
1 change: 1 addition & 0 deletions aslprep/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utility functions for aslprep."""

from aslprep.utils import asl, atlas, bids, cbf, confounds, misc, plotting, sentry

__all__ = [
Expand Down
1 change: 1 addition & 0 deletions aslprep/utils/asl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for working with ASL data."""

from __future__ import annotations

from typing import Any
Expand Down
1 change: 1 addition & 0 deletions aslprep/utils/cbf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for calculating CBF."""

from __future__ import annotations

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions aslprep/utils/confounds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Functions for calculating and collecting confounds."""

import os
import re

Expand Down
1 change: 1 addition & 0 deletions aslprep/utils/plotting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Plotting functions and classes."""

import matplotlib.pyplot as plt
import nibabel as nb
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions aslprep/workflows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Nipype workflows for the ASLPrep BIDS App."""

from aslprep.workflows import asl, base

__all__ = [
Expand Down
1 change: 1 addition & 0 deletions aslprep/workflows/asl/apply.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Workflows to apply changes to ASL data."""

from __future__ import annotations

import nipype.interfaces.utility as niu
Expand Down

0 comments on commit f84987e

Please sign in to comment.