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
Is it possible to either make it compatible or have a --black-compatible explicit flag?
--black-compatible
(I redacted the name of the internal project below, everything else is copy/paste.)
$ black src/ reformatted /Users/mzadka/src/<REDACTED>/src/<REDACTED>/_version.py All done! ✨ 🍰 ✨ 1 file reformatted, 12 files left unchanged. $ git diff diff --git a/src/<REDACTED>/_version.py b/src/<REDACTED>/_version.py index a4efef1..1cc8fa1 100644 --- a/src/<REDACTED>/_version.py +++ b/src/<REDACTED>/_version.py @@ -7,5 +7,5 @@ Provides <REDACTED> version information. from incremental import Version -__version__ = Version('<REDACTED>', 20, 7, 1) +__version__ = Version("<REDACTED>", 20, 7, 1) __all__ = ["__version__"]
The text was updated successfully, but these errors were encountered:
+1 for making it compatible by default without any flag.
Sorry, something went wrong.
Black was enabled by default for formatting the code in Twisted core: https://twistedmatrix.com/pipermail/twisted-python/2020-September/065220.html
So I think making incremental compatible with black (with no special flags) is a fine thing to do
@moshez can you try this branch: #60
Successfully merging a pull request may close this issue.
Is it possible to either make it compatible or have a
--black-compatibleexplicit flag?(I redacted the name of the internal project below, everything else is copy/paste.)
The text was updated successfully, but these errors were encountered: