From c4084611761c897e243daac4fccf3e543047ecd3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:24:09 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/psf/black: 23.11.0 → 24.10.0](https://github.com/psf/black/compare/23.11.0...24.10.0) - [github.com/pycqa/isort: 5.13.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.13.0...5.13.2) - [github.com/pycqa/flake8: 6.1.0 → 7.1.1](https://github.com/pycqa/flake8/compare/6.1.0...7.1.1) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5b975d87..455e1cd58 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,15 +11,15 @@ repos: - id: check-case-conflict - id: check-merge-conflict - repo: https://github.com/psf/black - rev: 23.11.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.13.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/pycqa/pydocstyle @@ -33,6 +33,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell From f71d97f95beca641da4b46e56b80970cb3418709 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:24:18 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/conduct.rst | 2 +- phys2bids/__init__.py | 1 + phys2bids/bids.py | 1 + phys2bids/utils.py | 1 + phys2bids/viz.py | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/conduct.rst b/docs/conduct.rst index e7f5ca5b3..236cb2029 100644 --- a/docs/conduct.rst +++ b/docs/conduct.rst @@ -16,7 +16,7 @@ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, -education, socio-economic status, nationality, personal appearance, +education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. We pledge to act and interact in ways that contribute to an open, diff --git a/phys2bids/__init__.py b/phys2bids/__init__.py index 3850dc98b..86b03bec9 100644 --- a/phys2bids/__init__.py +++ b/phys2bids/__init__.py @@ -1,4 +1,5 @@ """Main init for phys2bids package.""" + from ._version import get_versions __version__ = get_versions()["version"] diff --git a/phys2bids/bids.py b/phys2bids/bids.py index 356aebc34..b2802a639 100644 --- a/phys2bids/bids.py +++ b/phys2bids/bids.py @@ -1,4 +1,5 @@ """BIDS functions for phys2bids package.""" + import logging import os from csv import reader diff --git a/phys2bids/utils.py b/phys2bids/utils.py index ced80b8f6..05949afa9 100644 --- a/phys2bids/utils.py +++ b/phys2bids/utils.py @@ -1,4 +1,5 @@ """Utilities for phys2bids package.""" + import json import logging import os diff --git a/phys2bids/viz.py b/phys2bids/viz.py index 7f6a8e4fa..92f12d6cb 100644 --- a/phys2bids/viz.py +++ b/phys2bids/viz.py @@ -1,4 +1,5 @@ """Visualization functions for phys2bids package.""" + import logging import os