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
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
args: [--quiet]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 8.0.1
hooks:
- id: isort
name: isort (python)
Expand All @@ -15,14 +15,14 @@ repos:
types: [cython]

- repo: https://github.com/MarcoGorelli/cython-lint
rev: v0.16.2
rev: v0.19.0
hooks:
- id: cython-lint
- id: double-quote-cython-strings

# Ruff treeple
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.15.4
hooks:
- id: ruff
name: ruff treeple
Expand All @@ -31,7 +31,7 @@ repos:

# Ruff tutorials and examples
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.15.4
hooks:
- id: ruff
name: ruff tutorials and examples
Expand All @@ -42,7 +42,7 @@ repos:

# Codespell
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
Expand All @@ -52,22 +52,22 @@ repos:

# yamllint
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
rev: v1.38.0
hooks:
- id: yamllint
args: [--strict, -c, .yamllint.yml]

# toml-sort
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
rev: v0.24.3
hooks:
- id: toml-sort
files: ^pyproject\.toml$
args: ['-i']

# mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.19.1
hooks:
- id: mypy
# Avoid the conflict between mne/__init__.py and mne/__init__.pyi by ignoring the former
Expand All @@ -76,7 +76,7 @@ repos:

# rstcheck
- repo: https://github.com/rstcheck/rstcheck.git
rev: v6.2.4
rev: v6.2.5
hooks:
- id: rstcheck
additional_dependencies:
Expand Down
26 changes: 13 additions & 13 deletions doc/sphinxext/doi_role.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# -*- coding: utf-8 -*-
"""
doilinks
~~~~~~~~
Extension to add links to DOIs. With this extension you can use e.g.
:doi:`10.1016/S0022-2836(05)80360-2` in your documents. This will
create a link to a DOI resolver
(``https://doi.org/10.1016/S0022-2836(05)80360-2``).
The link caption will be the raw DOI.
You can also give an explicit caption, e.g.
:doi:`Basic local alignment search tool <10.1016/S0022-2836(05)80360-2>`.

:copyright: Copyright 2015 Jon Lund Steffensen. Based on extlinks by
the Sphinx team.
:license: BSD.
doilinks
~~~~~~~~
Extension to add links to DOIs. With this extension you can use e.g.
:doi:`10.1016/S0022-2836(05)80360-2` in your documents. This will
create a link to a DOI resolver
(``https://doi.org/10.1016/S0022-2836(05)80360-2``).
The link caption will be the raw DOI.
You can also give an explicit caption, e.g.
:doi:`Basic local alignment search tool <10.1016/S0022-2836(05)80360-2>`.

:copyright: Copyright 2015 Jon Lund Steffensen. Based on extlinks by
the Sphinx team.
:license: BSD.
"""

from docutils import nodes, utils
Expand Down
3 changes: 1 addition & 2 deletions treeple/_build_utils/gcc_build_bitness.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!python
""" Detect bitness (32 or 64) of Mingw-w64 gcc build target on Windows.
"""
"""Detect bitness (32 or 64) of Mingw-w64 gcc build target on Windows."""

import re
from subprocess import run
Expand Down
Loading