Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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)$"
Expand Down
7 changes: 3 additions & 4 deletions examples/io_dat_files.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion pyflct/flct.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
Loading