diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45ee1ae..5f02bb4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/PyCQA/docformatter - rev: v1.7.7 + rev: v1.7.8 hooks: - id: docformatter args: [--in-place, --pre-summary-newline, --make-summary-multi] @@ -11,12 +11,12 @@ repos: args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|__init__.py|docs/conf.py)$" - repo: https://github.com/psf/black-pre-commit-mirror - rev: 26.3.1 + rev: 26.5.1 hooks: - id: black exclude: ".*(.fits|.fts|.fit|.txt|.csv)$" - repo: https://github.com/PyCQA/isort - rev: 8.0.1 + rev: 9.0.0a3 hooks: - id: isort exclude: ".*(.fits|.fts|.fit|.txt|.csv)$" diff --git a/examples/io_dat_files.py b/examples/io_dat_files.py index 51dcbce..c28c42f 100644 --- a/examples/io_dat_files.py +++ b/examples/io_dat_files.py @@ -1,10 +1,9 @@ """ -================================== -Input/Output of dat files for FLCT +================================== Input/Output of dat files for FLCT ================================== -This example demonstrates the use of functions in `pyflct.utils` -to read and write arrays to binary ``dat`` files. +This example demonstrates the use of functions in `pyflct.utils` to read +and write arrays to binary ``dat`` files. """ import numpy as np diff --git a/pyflct/flct.py b/pyflct/flct.py index 1a7e9bf..302a1e8 100644 --- a/pyflct/flct.py +++ b/pyflct/flct.py @@ -156,7 +156,6 @@ def flct( * Fisher & Welsch, PASP 383, 373, (2008) * Fisher et al., ApJS, accepted (2020) """ - # Checking whether the C extension is correctly built. if _pyflct is None: raise ImportError("C extension for flct is missing, please rebuild.")