Update developer docs for using tox
This commit is contained in:
parent
e71b6bbd28
commit
acd6617ae9
1 changed files with 7 additions and 1 deletions
|
@ -40,7 +40,7 @@ Improvements to Home Assistant should be submitted one feature at a time using G
|
||||||
`git checkout -b some-feature`
|
`git checkout -b some-feature`
|
||||||
2. Make the changes you want
|
2. Make the changes you want
|
||||||
3. Test your changes and check for style violations
|
3. Test your changes and check for style violations
|
||||||
`./script/test`
|
`tox`
|
||||||
4. Commit the changes
|
4. Commit the changes
|
||||||
`git add .`
|
`git add .`
|
||||||
`git commit -m "Added some-feature"`
|
`git commit -m "Added some-feature"`
|
||||||
|
@ -48,6 +48,12 @@ Improvements to Home Assistant should be submitted one feature at a time using G
|
||||||
`git push origin HEAD`
|
`git push origin HEAD`
|
||||||
6. Follow [these steps](https://help.github.com/articles/creating-a-pull-request/) to create your pull request.
|
6. Follow [these steps](https://help.github.com/articles/creating-a-pull-request/) to create your pull request.
|
||||||
|
|
||||||
|
Note that the above requires `tox` to be installed. If you don't have it, do this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ pip3 install tox
|
||||||
|
```
|
||||||
|
|
||||||
### {% linkable_title Further reading %}
|
### {% linkable_title Further reading %}
|
||||||
|
|
||||||
- [Home Assistant Architecture](/developers/architecture/)
|
- [Home Assistant Architecture](/developers/architecture/)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue