0

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.

4

1 回答 1

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)"
于 2020-01-26T19:06:51.363 回答