mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
Update CONTRIBUTING.md (#1886)
This commit is contained in:
parent
8c01da20d6
commit
0feed0bfb8
|
@ -138,7 +138,7 @@ We want your work to be readable by others; therefore, we encourage you to note
|
|||
The use of [Python type hints](https://docs.python.org/3/library/typing.html) is encouraged for function parameters and return values. Our automated testing will run [mypy](http://mypy-lang.org) so run that locally before making your submission.
|
||||
|
||||
```python
|
||||
def sum_ab(a: int, b: int) --> int:
|
||||
def sum_ab(a: int, b: int) -> int:
|
||||
return a + b
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user