Skip to content

Commit

Permalink
Fix rst syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Aug 12, 2024
1 parent 7d916c6 commit bcb1945
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/coding_style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Please include `type hints`_ for every provider method you write. An overview of

You can find our complete flake8 configuration in the tox.ini_ file.

Use `is` instead of `==` when comparing a variable to `None`, `False`, or `True` (see https://www.flake8rules.com/rules/E711.html):
Use `is` instead of `==` when comparing a variable to `None`, `False`, or `True` (see https://www.flake8rules.com/rules/E711.html)::


if my_var is None:
... # do something

```python
if my_var is None:
... # do something
```

Data Sets
---------
Expand Down

0 comments on commit bcb1945

Please sign in to comment.