mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Merge pull request #216 from kk7ds/update-dev-docs
Update developer docs for using tox
This commit is contained in:
commit
12decec5b3
@ -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…
x
Reference in New Issue
Block a user