Updated doc for script/lint (#4753)

This commit is contained in:
cdce8p 2018-03-01 18:34:12 +01:00 committed by Adam Mills
parent 5cf6c0b432
commit bbc40c01ef

View File

@ -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 %}