Skip to content

Commit

Permalink
Fix a typo in code style documentation (Chia-Network#15877)
Browse files Browse the repository at this point in the history
Fix typo in documentation file
  • Loading branch information
UncertainBadg3r authored Jul 27, 2023
1 parent cb4bade commit 146dc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PRETTY_GOOD_PRACTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ While tests are still critical to confirm that the proper _values_ are created,
Our goal is to reach complete hinting coverage on all code with relatively strict mypy configuration.
This provides a rigorous level of checking for basic errors such as accessible unavailable attributes, mixing different types of elements in lists, treating a list as if it is a dict, and so on.

Note that as of Python 3.9 there were some broad changes implemented that allowed for hinting with the builting `list[int]` as opposed to `typing.List[int]`.
Note that as of Python 3.9 there were some broad changes implemented that allowed for hinting with the builtin `list[int]` as opposed to `typing.List[int]`.
Also, in new Python versions `Union[str, int]` can be written as `str | int`.
While it is possible to some degree for us to use those forms despite running in older Python versions, we will not presently be using the newer forms.

Expand Down

0 comments on commit 146dc8f

Please sign in to comment.