Skip to content

Commit ee6e405

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 893646a commit ee6e405

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

doc/sphinxext/doi_role.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
"""
3-
doilinks
4-
~~~~~~~~
5-
Extension to add links to DOIs. With this extension you can use e.g.
6-
:doi:`10.1016/S0022-2836(05)80360-2` in your documents. This will
7-
create a link to a DOI resolver
8-
(``https://doi.org/10.1016/S0022-2836(05)80360-2``).
9-
The link caption will be the raw DOI.
10-
You can also give an explicit caption, e.g.
11-
:doi:`Basic local alignment search tool <10.1016/S0022-2836(05)80360-2>`.
12-
13-
:copyright: Copyright 2015 Jon Lund Steffensen. Based on extlinks by
14-
the Sphinx team.
15-
:license: BSD.
3+
doilinks
4+
~~~~~~~~
5+
Extension to add links to DOIs. With this extension you can use e.g.
6+
:doi:`10.1016/S0022-2836(05)80360-2` in your documents. This will
7+
create a link to a DOI resolver
8+
(``https://doi.org/10.1016/S0022-2836(05)80360-2``).
9+
The link caption will be the raw DOI.
10+
You can also give an explicit caption, e.g.
11+
:doi:`Basic local alignment search tool <10.1016/S0022-2836(05)80360-2>`.
12+
13+
:copyright: Copyright 2015 Jon Lund Steffensen. Based on extlinks by
14+
the Sphinx team.
15+
:license: BSD.
1616
"""
1717

1818
from docutils import nodes, utils

treeple/_build_utils/gcc_build_bitness.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!python
2-
""" Detect bitness (32 or 64) of Mingw-w64 gcc build target on Windows.
3-
"""
2+
"""Detect bitness (32 or 64) of Mingw-w64 gcc build target on Windows."""
43

54
import re
65
from subprocess import run

0 commit comments

Comments
 (0)