Skip to content

Commit 78b0bc1

Browse files
authored
Fix up some warnings and errors in docs (#817)
* Some lines missing code-block * Missing blank lines for spacing Signed-off-by: Eric Brown <[email protected]>
1 parent e2fa501 commit 78b0bc1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

bandit/plugins/app_debug.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
.. [1] https://flask.palletsprojects.com/en/1.1.x/quickstart/#debug-mode
3434
.. [2] https://werkzeug.palletsprojects.com/en/1.0.x/debug/
3535
.. [3] https://labs.detectify.com/2015/10/02/how-patreon-got-hacked-publicly-exposed-werkzeug-debugger/
36-
.. [4] https://cwe.mitre.org/data/definitions/94.html
36+
.. https://cwe.mitre.org/data/definitions/94.html
3737
3838
.. versionadded:: 0.15.0
3939

bandit/plugins/snmp_security_check.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def snmp_insecure_version_check(context):
2020
:Example:
2121
2222
.. code-block:: none
23+
2324
>> Issue: [B508:snmp_insecure_version_check] The use of SNMPv1 and
2425
SNMPv2 is insecure. You should use SNMPv3 if able.
2526
Severity: Medium Confidence: High

bandit/plugins/yaml_load.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
2020
:Example:
2121
22+
.. code-block:: none
23+
2224
>> Issue: [yaml_load] Use of unsafe yaml load. Allows instantiation of
2325
arbitrary objects. Consider yaml.safe_load().
2426
Severity: Medium Confidence: High
@@ -28,7 +30,6 @@
2830
5 y = yaml.load(ystr)
2931
6 yaml.dump(y)
3032
31-
3233
.. seealso::
3334
3435
- https://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML

0 commit comments

Comments
 (0)