-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sphinx Workflow
committed
Nov 28, 2023
1 parent
a99b76b
commit e965aba
Showing
81 changed files
with
10,754 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 376588f1cd395ceb619f89fb98320647 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
API Documentation | ||
================= | ||
|
||
This API documentation is generated from comments within the source code. | ||
|
||
.. autosummary:: | ||
:toctree: api | ||
:recursive: | ||
|
||
stylist |
36 changes: 36 additions & 0 deletions
36
v0.4.1/_sources/developer-information/api/stylist.configuration.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
stylist.configuration | ||
===================== | ||
|
||
.. automodule:: stylist.configuration | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Functions | ||
|
||
.. autosummary:: | ||
|
||
load_configuration | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
ConfigTools | ||
Configuration | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
29 changes: 29 additions & 0 deletions
29
v0.4.1/_sources/developer-information/api/stylist.engine.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
stylist.engine | ||
============== | ||
|
||
.. automodule:: stylist.engine | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
CheckEngine | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
40 changes: 40 additions & 0 deletions
40
v0.4.1/_sources/developer-information/api/stylist.fortran.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
stylist.fortran | ||
=============== | ||
|
||
.. automodule:: stylist.fortran | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
AutoCharArrayIntent | ||
ForbidUsage | ||
FortranCharacterset | ||
FortranRule | ||
IntrinsicModule | ||
KindPattern | ||
LabelledDoExit | ||
MissingImplicit | ||
MissingIntent | ||
MissingOnly | ||
MissingPointerInit | ||
NakedLiteral | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
29 changes: 29 additions & 0 deletions
29
v0.4.1/_sources/developer-information/api/stylist.issue.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
stylist.issue | ||
============= | ||
|
||
.. automodule:: stylist.issue | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
Issue | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
stylist | ||
======= | ||
|
||
.. automodule:: stylist | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Exceptions | ||
|
||
.. autosummary:: | ||
|
||
StylistException | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Modules | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:recursive: | ||
|
||
stylist.configuration | ||
stylist.engine | ||
stylist.fortran | ||
stylist.issue | ||
stylist.rule | ||
stylist.source | ||
stylist.style | ||
|
31 changes: 31 additions & 0 deletions
31
v0.4.1/_sources/developer-information/api/stylist.rule.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
stylist.rule | ||
============ | ||
|
||
.. automodule:: stylist.rule | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
LimitLineLength | ||
Rule | ||
TrailingWhitespace | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
41 changes: 41 additions & 0 deletions
41
v0.4.1/_sources/developer-information/api/stylist.source.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
stylist.source | ||
============== | ||
|
||
.. automodule:: stylist.source | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
CPreProcessor | ||
CSource | ||
FilePipe | ||
FortranPreProcessor | ||
FortranSource | ||
PFUnitProcessor | ||
PlainText | ||
SourceFactory | ||
SourceFileReader | ||
SourceStringReader | ||
SourceText | ||
SourceTree | ||
TextProcessor | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
29 changes: 29 additions & 0 deletions
29
v0.4.1/_sources/developer-information/api/stylist.style.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
stylist.style | ||
============= | ||
|
||
.. automodule:: stylist.style | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Classes | ||
|
||
.. autosummary:: | ||
|
||
Style | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Create a Development Environment | ||
================================ | ||
|
||
There are a number of different ways to create a suitable environment for | ||
Stylist development. A few are documented here. | ||
|
||
Whichever method you choose you will need to install certain packages. The | ||
ultimate arbiter of what is needed is the ``setup.cfg`` file. | ||
|
||
You will definitely need ``fparser`` and will probably want ``pytest``, | ||
``flake8`` and ``mypy``. | ||
|
||
Using a Virtual Environment | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Python supports cloning itself into stand alone instances at only the cost of | ||
all your disc space. Creating one of these instances is as easy as:: | ||
|
||
python3 -m venv ~me/place/which/i/like | ||
|
||
This can be performed using any version of Python you may have temporarily | ||
enabled using, for instance, environment modules. After the new virtual | ||
instance is created those modules should be unloaded to avoid potential | ||
confusion. | ||
|
||
Once created a virtual instance is "activated":: | ||
|
||
source ~me/place/which/i/like/bin/activate | ||
|
||
This sets everything up and modifies your command-line prompt to give a | ||
reminder of which environment you are using. Once you are finished you can | ||
get rid of it all with:: | ||
|
||
deactivate | ||
|
||
Populating the Environment | ||
-------------------------- | ||
|
||
With the virtual instance active you can use the "pip" tool to install | ||
anything you like from "pypi". These new libraries will not interact with | ||
any installed in any other virtual environments you may have created. | ||
|
||
e.g. ``python3 -m pip install pytest`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Developer Information | ||
===================== | ||
|
||
Welcome to the "Stylist" code stye checking tool developer documentation. | ||
|
||
If you want to use the tool you may find the `User Guide`_ more to | ||
your taste. | ||
|
||
.. _User Guide: ../user-manual | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
overview | ||
api | ||
environment | ||
rules | ||
todo | ||
|
||
A lot of our process is dictated by the GitHub platform used to host the | ||
project. For details about that, such as how change requests are handled, | ||
see the `project wiki`_. | ||
|
||
.. _project wiki: https://github.com/MetOffice/stylist/wiki | ||
|
||
Indices and tables | ||
------------------ | ||
|
||
* :ref:`modindex` | ||
* :ref:`genindex` | ||
* :ref:`search` |
Oops, something went wrong.