Skip to content

Commit 6d0805e

Browse files
committed
flake line length complaint
1 parent 58f71af commit 6d0805e

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

dev_tools/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def main(argv=None):
3131
impatient_app.impatient_args(impatient_parser)
3232
dir_app.dir_args(impatient_parser)
3333

34-
nxtest_parser = subparsers.add_parser("nxtest", help="Test definition files")
34+
nxtest_parser = subparsers.add_parser("nxtest",
35+
help="Test definition files")
3536
test_app.nxtest_args(nxtest_parser)
3637
dir_app.dir_args(nxtest_parser)
3738

dev_tools/ext/contrib_ext.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import re
22

3-
# a custom sphinx extension that is connected to the source-read hook for rst files,
4-
# the purpose is to read all of the contributor information from the rst file and
5-
# place it in a string variable that will be used in the sourcelink.html jinja template
6-
# that has been over ridden and sits in the _templates directory to produce the
7-
# contributor information on the for right sidebar of the html pages
3+
# a custom sphinx extension that is connected to the source-read hook for
4+
# rst files, the purpose is to read all of the contributor information from the
5+
# rst file and place it in a string variable that will be used in the
6+
# sourcelink.html jinja template that has been over ridden and sits in the
7+
# _templates directory to produce the contributor information on the for right
8+
# sidebar of the html pages
89

910
variables_re = re.compile(r"\|(\w+)\| replace::\s(.+)")
1011

@@ -17,7 +18,8 @@ def extract_contributor_vars(app, docname, source):
1718
variables = variables_re.findall(content)
1819

1920
# Create a dictionary to store the extracted variables
20-
# this will create a list of single strings each of which contain the info about the contributor
21+
# this will create a list of single strings each of which contain the info
22+
# about the contributor
2123
extracted_variables = [var[1] for var in variables]
2224
if "variables" not in app.config.html_context.keys():
2325
app.config.html_context["variables"] = {}

0 commit comments

Comments
 (0)