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
Getting the following error trying to run darker on a bunch of files when a git revision is specified with -r:
darker
-r
black.InvalidInput: Cannot parse: 1:0: #pylint: disable=missing-docstring, invalid-name, too-few-public-methods, too-many-lines
to : darker -r <revision> filepath
darker -r <revision> filepath
when the first line in the file is
#pylint: disable=missing-docstring, invalid-name, too-few-public-methods, too-many-lines
The text was updated successfully, but these errors were encountered:
actually looking into it more, after removing that line, it still seems to error out, perhaps its the line in the revision?
Sorry, something went wrong.
Thanks @markddavidoff,
doesn't look like an error from Darker itself, but from Black.
Do you think you could come up with a minimal example to reproduce this?
Also, what was the error when you removed the first line in the file?
What about if you use a different Black version?
can't repro anymore, lets close this.
No branches or pull requests
Getting the following error trying to run
darker
on a bunch of files when a git revision is specified with-r
:to :
darker -r <revision> filepath
when the first line in the file is
#pylint: disable=missing-docstring, invalid-name, too-few-public-methods, too-many-lines
The text was updated successfully, but these errors were encountered: