mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Updated doc for script/lint (#4753)
This commit is contained in:
parent
5cf6c0b432
commit
bbc40c01ef
@ -54,10 +54,10 @@ $ pydocstyle homeassistant/core.py
|
||||
$ py.test tests/test_core.py
|
||||
```
|
||||
|
||||
You can also run linting tests against all changed files, as reported by `git diff upstream/dev --name-only`, using the `lint` script:
|
||||
You can also run linting tests against all changed files, as reported by `git diff upstream/dev... --name-only`, using the `lint` script:
|
||||
|
||||
```bash
|
||||
$ script/lint --changed
|
||||
$ script/lint
|
||||
```
|
||||
|
||||
### {% linkable_title Preventing Linter Errors %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user