I have been looking to run python linter only for uncommitted changes and not my entire project, Is there a way to run Pylama only for git changes.
Asked
Active
Viewed 214 times
1 Answers
2
You can provide a list of the uncommitted changes to Pylama as a parameter.
Run from the command line:
pylama "$(git --no-pager diff --name-only)"

Noam Segev
- 51
- 6