Updated git diff statement (#4877)

This commit is contained in:
cdce8p 2018-03-10 18:14:23 +01:00 committed by Fabian Affolter
parent 12c19480ec
commit dc8c5ee19d

View File

@ -54,7 +54,7 @@ $ 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... --diff-filter=d --name-only`, using the `lint` script:
```bash
$ script/lint