Skip to content

Commit 3ef8809

Browse files
SMoraisAnsysPipKat
andauthored
Apply suggestions from code review
Co-authored-by: Kathy Pippert <[email protected]>
1 parent 650b612 commit 3ef8809

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def visit_desc_content(self, node: Element) -> None:
4848
# Sphinx event hooks
4949

5050
class PrettyPrintDirective(Directive):
51-
"""Renders a constant using ``pprint.pformat`` and inserts into the document."""
51+
"""Renders a constant using ``pprint.pformat`` and inserts it into the document."""
5252
required_arguments = 1
5353

5454
def run(self):
@@ -77,13 +77,13 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
7777

7878

7979
def directory_size(directory_path):
80-
"""Compute the size (in mega bytes) of a directory."""
80+
"""Compute the size (in megabytes) of a directory."""
8181
res = 0
8282
for path, _, files in os.walk(directory_path):
8383
for f in files:
8484
fp = os.path.join(path, f)
8585
res += os.stat(fp).st_size
86-
# Convert in mega bytes
86+
# Convert in megabytes
8787
res /= 1e6
8888
return res
8989

0 commit comments

Comments
 (0)