Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#223)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](astral-sh/ruff-pre-commit@v0.8.6...v0.9.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 13, 2025
1 parent 7a1bdab commit 3448c47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
- id: ruff
name: ruff linter
Expand Down
4 changes: 2 additions & 2 deletions mne_icalabel/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def sys_info(fid: Optional[IO] = None, developer: bool = False):
out("Logical cores:".ljust(ljust) + str(psutil.cpu_count(True)) + "\n")
# memory information
out("RAM:".ljust(ljust))
out(f"{psutil.virtual_memory().total / float(2 ** 30):0.1f} GB\n")
out(f"{psutil.virtual_memory().total / float(2**30):0.1f} GB\n")
out("SWAP:".ljust(ljust))
out(f"{psutil.swap_memory().total / float(2 ** 30):0.1f} GB\n")
out(f"{psutil.swap_memory().total / float(2**30):0.1f} GB\n")
# package information
out(f"{package}:".ljust(ljust) + version(package) + "\n")

Expand Down

0 comments on commit 3448c47

Please sign in to comment.