mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Merge pull request #801 from home-assistant/Teagan42-Flake8-Hook
flake8 hook needs a type!
This commit is contained in:
commit
da0a175e24
@ -37,7 +37,7 @@ You can save yourself the hassle of extra commits just to fix style errors by en
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ pip3 install flake8 flake8-docstrings
|
$ pip3 install flake8 flake8-docstrings
|
||||||
$ flake8 --install-hook
|
$ flake8 --install-hook=git
|
||||||
```
|
```
|
||||||
|
|
||||||
The flake8-docstrings extension will check docstrings according to [PEP257](https://www.python.org/dev/peps/pep-0257/) when running flake8.
|
The flake8-docstrings extension will check docstrings according to [PEP257](https://www.python.org/dev/peps/pep-0257/) when running flake8.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user