Skip to content

Commit

Permalink
[FIX] pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dutta-alankar committed Dec 5, 2023
1 parent cbfbbf3 commit 78178cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.10'
- uses: pre-commit/[email protected]
5 changes: 2 additions & 3 deletions astro_plasma/core/datasift.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _get_counter(self: "DataSift", i: int, j: int, k: int, m: int) -> int:
+ (i)
)
return counter

def _determine_multiple_input(
self: "DataSift",
nH: Union[int, float, List, np.ndarray],
Expand Down Expand Up @@ -82,7 +82,7 @@ def _determine_multiple_input(
condition = condition and (isinstance(redshift, list) or isinstance(redshift, np.ndarray))

return condition

def _prepare_multiple_input(
self: "DataSift",
nH: Union[int, float, List, np.ndarray],
Expand Down Expand Up @@ -111,7 +111,6 @@ def _prepare_multiple_input(
"""
pass


def _transform_edges(self: "DataSift", i: int, j: int, k: int, m: int) -> Tuple[int, int, int, int]:
# Detect the edge cases
Expand Down

0 comments on commit 78178cd

Please sign in to comment.