From 970ad64510d30394a46bfc4584b9ecec63d8ff9d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:13:39 +0100 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#188) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.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> --- .pre-commit-config.yaml | 2 +- bidsmreye/__init__.py | 1 + bidsmreye/defaults.py | 1 + bidsmreye/download.py | 1 + bidsmreye/generalize.py | 1 + bidsmreye/methods.py | 1 + bidsmreye/prepare_data.py | 1 + bidsmreye/quality_control.py | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61b2b7c..4dc7d35 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: args: [--py37-plus, --add-import, from __future__ import annotations] - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: [--config=pyproject.toml, --verbose] diff --git a/bidsmreye/__init__.py b/bidsmreye/__init__.py index a47f02a..48f5608 100644 --- a/bidsmreye/__init__.py +++ b/bidsmreye/__init__.py @@ -1,2 +1,3 @@ """Bidsmreye package.""" + from __future__ import annotations diff --git a/bidsmreye/defaults.py b/bidsmreye/defaults.py index 4388761..913cd4e 100644 --- a/bidsmreye/defaults.py +++ b/bidsmreye/defaults.py @@ -1,4 +1,5 @@ """Store defaults.""" + from __future__ import annotations diff --git a/bidsmreye/download.py b/bidsmreye/download.py index ccd1b3b..ab4ec93 100644 --- a/bidsmreye/download.py +++ b/bidsmreye/download.py @@ -1,4 +1,5 @@ """Download the models from OSF.""" + from __future__ import annotations import argparse diff --git a/bidsmreye/generalize.py b/bidsmreye/generalize.py index a1fcdf3..5998bba 100644 --- a/bidsmreye/generalize.py +++ b/bidsmreye/generalize.py @@ -1,4 +1,5 @@ """TODO.""" + from __future__ import annotations import logging diff --git a/bidsmreye/methods.py b/bidsmreye/methods.py index 8b46ebc..861c5c8 100644 --- a/bidsmreye/methods.py +++ b/bidsmreye/methods.py @@ -1,4 +1,5 @@ """Write method section.""" + from __future__ import annotations import shutil diff --git a/bidsmreye/prepare_data.py b/bidsmreye/prepare_data.py index 74870a2..3db27cc 100644 --- a/bidsmreye/prepare_data.py +++ b/bidsmreye/prepare_data.py @@ -1,4 +1,5 @@ """Run coregistration and extract data.""" + from __future__ import annotations import pickle diff --git a/bidsmreye/quality_control.py b/bidsmreye/quality_control.py index fb180a5..01f074a 100644 --- a/bidsmreye/quality_control.py +++ b/bidsmreye/quality_control.py @@ -1,4 +1,5 @@ """TODO.""" + from __future__ import annotations import json