Skip to content

Commit

Permalink
Some doc nits (#195)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb authored Jan 3, 2024
1 parent b77d788 commit 3fc569a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions precli/rules/go/golang_org_x_crypto/weak_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
Example
-------
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 11
Expand All @@ -68,7 +68,7 @@
It is advisable to use stronger, more secure cryptographic algorithms such as
AES.
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 5,11
Expand Down
6 changes: 3 additions & 3 deletions precli/rules/go/stdlib/crypto/weak_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
Example
-------
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 14
Expand Down Expand Up @@ -94,9 +94,9 @@
It is advisable to use stronger, more secure cryptographic algorithms such as
AES.
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 4,14
:emphasize-lines: 4,10
package main
Expand Down
4 changes: 2 additions & 2 deletions precli/rules/go/stdlib/crypto/weak_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
Example
-------
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 10
Expand All @@ -61,7 +61,7 @@
Its recommended to increase the key size to at least 2048 for DSA and RSA
algorithms.
.. code-block:: python
.. code-block:: go
:linenos:
:emphasize-lines: 10
Expand Down

0 comments on commit 3fc569a

Please sign in to comment.