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.

Noam Segev
  • 51
  • 6

1 Answers1

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