The most simple usage of flake8-diff is to run flake8-diff on its own:
There are a number of basic parameters you can pass to flake8-diff, and explanation of these options is below:
$ flake8-diff -h
TODO: Update once decisions on output, formatting and colors is settled.
By default flake8-diff will compare your current branch to the equivalent of origin/master (this is different in other version control systems).
If you want to do the comparison against different branches, or even different commits, then you can follow the below options.