Skip to content

Commit

Permalink
fix: refactor python code blocks using readme_renderer compliant dire…
Browse files Browse the repository at this point in the history
…ctives
  • Loading branch information
lpm0073 committed Nov 14, 2023
1 parent 0df27ef commit 49a3423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage
As a decorator
~~~~~~~~~~~~~~

.. code:: python
.. code-block:: python
from secure_logger.decorators import secure_logger
Expand Down Expand Up @@ -56,7 +56,7 @@ Log output:
As library functions
~~~~~~~~~~~~~~~~~~~~

.. code:: python
.. code-block:: python
from secure_logger.masked_dict import masked_dict, masked_dict2str
Expand Down Expand Up @@ -94,7 +94,7 @@ secure_logger accepts optional parameters.
- indent: number of characters to indent JSON string output when
logging output

.. code:: python
.. code-block:: python
class MyClass():
Expand All @@ -105,7 +105,7 @@ secure_logger accepts optional parameters.
Configuration Defaults
----------------------

.. code:: python
.. code-block:: python
DEFAULT_REDACTION_MESSAGE = "*** -- secure_logger() -- ***"
DEFAULT_INDENT = 4
Expand Down

0 comments on commit 49a3423

Please sign in to comment.