I have added pylint to a client's project. Since the project is about 15 years old I would only like to lint the lines of code that have changed, making this a gradual process.
I tried the following command, however it shows errors from throughout the entire changed file. Is there a way to only report errors from lines of code that have actually been changed?
pylint `git diff --name-only --diff-filter=d | grep -E '\.py$' | tr '\n' ' '`