Skip to content

Commit

Permalink
Update coding_style.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella authored Aug 12, 2024
1 parent ffa364b commit 56f27b6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/coding_style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +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):

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

Data Sets
---------
Expand All @@ -21,6 +27,9 @@ and/or origin of the data. If the source is a wiki, please also include the date
We only accept new data if it's coming from statistical sources, such as census or government institutions.
This includes names and their distribution.

You may include multiple sources, but each name must come from a source. We will not accept list of names compiled
exclusively by contributors.


Name Lists
----------
Expand Down

0 comments on commit 56f27b6

Please sign in to comment.