diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 707004e..66a2c1f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ exclude: '^physioqc/_version.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -12,16 +12,16 @@ repos: - id: check-added-large-files - id: check-case-conflict - id: check-merge-conflict -- repo: https://github.com/psf/black - rev: 24.10.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 8.0.1 hooks: - id: isort - repo: https://github.com/pycqa/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/pycqa/pydocstyle @@ -36,6 +36,6 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell # Configuration for codespell is in setup.cfg - rev: v2.2.6 + rev: v2.4.2 hooks: - id: codespell diff --git a/physioqc/cli/run.py b/physioqc/cli/run.py index 94b3e39..4d11fae 100644 --- a/physioqc/cli/run.py +++ b/physioqc/cli/run.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- """Parser for physioqc.""" - import argparse from physioqc import __version__ diff --git a/versioneer.py b/versioneer.py index 2b54540..1cd4726 100644 --- a/versioneer.py +++ b/versioneer.py @@ -427,9 +427,7 @@ def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False, env= return stdout, p.returncode -LONG_VERSION_PY[ - "git" -] = ''' +LONG_VERSION_PY["git"] = ''' # This file helps to compute a version number in source trees obtained from # git-archive tarball (such as those provided by githubs download-from-tag # feature). Distribution tarballs (built by setup.py sdist) and build