Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(pre-commit.ci): auto update #284

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ default_install_hook_types:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-toml
- id: check-yaml
Expand All @@ -26,7 +26,7 @@ repos:

# black - code formatting
- repo: https://github.com/psf/black
rev: 24.8.0
rev: 24.10.0
hooks:
- id: black

Expand Down
2 changes: 1 addition & 1 deletion pyclesperanto/_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,6 @@ def is_image(object):
"<class 'xarray.core.dataarray.DataArray'>",
"<class 'resource_backed_dask_array.ResourceBackedDaskArray'>",
"<class 'torch.Tensor'>",
"<class 'pyclesperanto_prototype._tier0._pycl.OCLArray'>"
"<class 'pyclesperanto_prototype._tier0._pycl.OCLArray'>",
]
)
177 changes: 88 additions & 89 deletions pyclesperanto/_bia_bob_plugins.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyclesperanto/_functionalities.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from inspect import getmembers, isfunction
from os import path
from pathlib import Path
from typing import Optional, Union, Callable
from inspect import getmembers, isfunction
from typing import Callable, Optional, Union

import numpy as np
from matplotlib.colors import ListedColormap
Expand Down
7 changes: 6 additions & 1 deletion pyclesperanto/_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,12 @@ def __repr_html__(self):

num_bins = 32
h = np.asarray(
histogram(self, num_bins=num_bins, minimum_intensity=self.min(), maximum_intensity=self.max())
histogram(
self,
num_bins=num_bins,
minimum_intensity=self.min(),
maximum_intensity=self.max(),
)
)
plt.figure(figsize=(1.8, 1.2))
plt.bar(range(0, len(h)), h)
Expand Down
Loading
Loading