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 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