New issue
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
Code Flag Options #2259
Code Flag Options #2259
Commits on May 26, 2021
-
Adds Option Logic For Inline Code
Properly handles the diff, color, and fast option when black is run with the `--code` option. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Adds test for the CLI `--code` option. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Updates Docs With Code Options
Updates the docs to remove the warning about the code options bug, and adds a changelog entry. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
-
Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Fixes Code Option Color On Windows
Wraps the output stream for windows to fix the color option when using diff. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Switches To Assert Format In Code Tests
Switches to a plain assert instead of unittest's self.assertEqual in the `--code` option tests. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
Commits on May 28, 2021
-
Uses STDIN Formatter For Code Option
Switches the code option to use the STDIN formatter instead of manually formatting the input, to add support for other flags, and properly handle the output. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Merge branch 'main' into code-options
# Conflicts: # CHANGES.md
Commits on May 29, 2021
-
-
-
Remove Explicit Quiet Flags In Code Tests
Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
-
Searches Current Directory When No Config Is Passed
Changes the find project root function to look in the current directory instead of system root when no sources are passed. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
-
Searches Current Directory When No Config Is Passed
Changes the find project root function to look in the current directory instead of system root when no sources are passed. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
Commits on Jun 2, 2021
-
Makes Mock Call Assertions Compatible With <py3.8
Changes the assertions made on mock calls to work with python version earlier than 3.8. Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>