We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--from-ref
--to-ref
When running darker through pre-commit, it ignores the --from-ref and --to-ref arguments.
pre-commit
These 2 commands should behave the same.
pre-commit run darker --from-ref HEAD~1 --to-ref HEAD darker --revision HEAD~1..HEAD
The pre-commit arguments are exposed via the environment variables PRE_COMMIT_FROM_REF and PRE_COMMIT_TO_REF
PRE_COMMIT_FROM_REF
PRE_COMMIT_TO_REF
The text was updated successfully, but these errors were encountered:
Thanks @KangOl for your bug report! We'll definitely fix this for the next release.
Heads up @sherbie @samoylovfp @Pacu2 @CorreyL
Sorry, something went wrong.
Get revrange from env vars with -r :PRE-COMMIT:
-r :PRE-COMMIT:
cb7a06f
Fixes #103
de19598
8cba9b7
akaihola
Successfully merging a pull request may close this issue.
When running darker through
pre-commit
, it ignores the--from-ref
and--to-ref
arguments.These 2 commands should behave the same.
The pre-commit arguments are exposed via the environment variables
PRE_COMMIT_FROM_REF
andPRE_COMMIT_TO_REF
The text was updated successfully, but these errors were encountered: