mirror of
https://github.com/Nuitka/Nuitka.git
synced 2025-12-14 20:35:49 +01:00
Quality: Make sure docs have newline at the end.
This commit is contained in:
@@ -139,4 +139,4 @@ The order is sorted by time.
|
|||||||
- The `black project <https://github.com/ambv/black>`__
|
- The `black project <https://github.com/ambv/black>`__
|
||||||
|
|
||||||
Thanks for making a fast and reliable way for automatically
|
Thanks for making a fast and reliable way for automatically
|
||||||
formatting the Nuitka source code.
|
formatting the Nuitka source code.
|
||||||
|
|||||||
@@ -4536,4 +4536,4 @@ readable to human, but easily used to generate PDF or HTML documents.
|
|||||||
You will find the current source under:
|
You will find the current source under:
|
||||||
https://github.com/Nuitka/Nuitka/blob/develop/Developer_Manual.rst
|
https://github.com/Nuitka/Nuitka/blob/develop/Developer_Manual.rst
|
||||||
|
|
||||||
And the current PDF under: https://nuitka.net/doc/Developer_Manual.pdf
|
And the current PDF under: https://nuitka.net/doc/Developer_Manual.pdf
|
||||||
|
|||||||
@@ -1564,4 +1564,4 @@ readable to human, but easily used to generate PDF or HTML documents.
|
|||||||
You will find the current version at:
|
You will find the current version at:
|
||||||
https://nuitka.net/doc/user-manual.html
|
https://nuitka.net/doc/user-manual.html
|
||||||
|
|
||||||
And the current PDF under: https://nuitka.net/doc/README.pdf
|
And the current PDF under: https://nuitka.net/doc/README.pdf
|
||||||
|
|||||||
@@ -227,4 +227,4 @@ torch
|
|||||||
Dynamic neural networks in Python with strong GPU acceleration.
|
Dynamic neural networks in Python with strong GPU acceleration.
|
||||||
*Torchvision* requires *numpy*.
|
*Torchvision* requires *numpy*.
|
||||||
|
|
||||||
- Options: none.
|
- Options: none.
|
||||||
|
|||||||
@@ -236,4 +236,4 @@ the methods have no argument.
|
|||||||
| shallWarnImplicitRaises | *bool* = ``--warn-implicit-exceptions`` |
|
| shallWarnImplicitRaises | *bool* = ``--warn-implicit-exceptions`` |
|
||||||
+--------------------------------------+-----------------------------------------------------------------------------------+
|
+--------------------------------------+-----------------------------------------------------------------------------------+
|
||||||
| shallWarnUnusualCode | *bool* = ``--warn-unusual-code`` |
|
| shallWarnUnusualCode | *bool* = ``--warn-unusual-code`` |
|
||||||
+--------------------------------------+-----------------------------------------------------------------------------------+
|
+--------------------------------------+-----------------------------------------------------------------------------------+
|
||||||
|
|||||||
@@ -52,4 +52,4 @@ not collide with other plugins, as we have no per plugin namespace here.
|
|||||||
|
|
||||||
To see a working example for a user plugin with options, consult `this
|
To see a working example for a user plugin with options, consult `this
|
||||||
<https://github.com/Nuitka/Nuitka/blob/develop/UserPlugin-Creation.rst>`__
|
<https://github.com/Nuitka/Nuitka/blob/develop/UserPlugin-Creation.rst>`__
|
||||||
document.
|
document.
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ def _cleanupRstFmt(filename):
|
|||||||
inside = False
|
inside = False
|
||||||
lines.append(line)
|
lines.append(line)
|
||||||
|
|
||||||
updated_contents = b"\n".join(lines)
|
updated_contents = b"\n".join(lines) + b"\n"
|
||||||
|
|
||||||
if updated_contents != contents:
|
if updated_contents != contents:
|
||||||
with open(filename, "wb") as out_file:
|
with open(filename, "wb") as out_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user