-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Format type hints after comments #3362
base: main
Are you sure you want to change the base?
Commits on Oct 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 08c9138 - Browse repository at this point
Copy the full SHA 08c9138View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 42f3595 - Browse repository at this point
Copy the full SHA 42f3595View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2eb395 - Browse repository at this point
Copy the full SHA c2eb395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec9eda - Browse repository at this point
Copy the full SHA 2ec9edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ae3b7c - Browse repository at this point
Copy the full SHA 8ae3b7cView commit details
Commits on Oct 30, 2022
-
Handle other cases of comments in brackets
This commit makes Black handle cases where there is a comment in the middle of a statement in brackets. It also removes uses of comma_split()
Configuration menu - View commit details
-
Copy full SHA for 54b511a - Browse repository at this point
Copy the full SHA 54b511aView commit details -
Revert "Add comma_split() to developer reference"
This reverts commit 2ec9eda.
Configuration menu - View commit details
-
Copy full SHA for a0c658d - Browse repository at this point
Copy the full SHA a0c658dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57315e3 - Browse repository at this point
Copy the full SHA 57315e3View commit details -
Revert "Refactor comma_split() and delimiter_split()"
This reverts commit 42f3595.
Configuration menu - View commit details
-
Copy full SHA for 3742181 - Browse repository at this point
Copy the full SHA 3742181View commit details -
Revert "Add comma split before delimiter split"
This reverts commit 08c9138.
Configuration menu - View commit details
-
Copy full SHA for 63dc442 - Browse repository at this point
Copy the full SHA 63dc442View commit details
Commits on Nov 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2dd9a7e - Browse repository at this point
Copy the full SHA 2dd9a7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed21fcf - Browse repository at this point
Copy the full SHA ed21fcfView commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7438ad1 - Browse repository at this point
Copy the full SHA 7438ad1View commit details
Commits on Dec 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ab14c70 - Browse repository at this point
Copy the full SHA ab14c70View commit details
Commits on Jul 1, 2023
-
Merge branch 'main' into format-type-hints-after-comments
# Conflicts: # CHANGES.md # src/black/mode.py
Configuration menu - View commit details
-
Copy full SHA for 2be15ac - Browse repository at this point
Copy the full SHA 2be15acView commit details -
Edit test to make sure a delimiter split is performed
This test makes sure a trailing comma is added when there is a comment in the brackets. However, a delimiter split is no longer performed in these cases, so there is no need to add a trailing comma. This commit makes the lines longer so a delimiter split is performed, and the behaviour with the trailing comma can be tested.
Configuration menu - View commit details
-
Copy full SHA for 82d05f0 - Browse repository at this point
Copy the full SHA 82d05f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 618eb16 - Browse repository at this point
Copy the full SHA 618eb16View commit details
Commits on Jul 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5658c39 - Browse repository at this point
Copy the full SHA 5658c39View commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for de4a517 - Browse repository at this point
Copy the full SHA de4a517View commit details -
Rename magic trailing comma attributes
Magic_trailing_comma now points to the actual comma token, and bracket_after_magic_trailing_comma now points to the following close bracket.
Configuration menu - View commit details
-
Copy full SHA for 2ccc70f - Browse repository at this point
Copy the full SHA 2ccc70fView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d32616 - Browse repository at this point
Copy the full SHA 2d32616View commit details
Commits on Jul 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4e5bf07 - Browse repository at this point
Copy the full SHA 4e5bf07View commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbce271 - Browse repository at this point
Copy the full SHA cbce271View commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 029fce9 - Browse repository at this point
Copy the full SHA 029fce9View commit details