Sourced from black's releases.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been hardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a trailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set comprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10 (#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that scan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overridingdefault_language_version
(#2430)
Sourced from black's changelog.
\n\n\n21.8b0
\nBlack
\n\n
\n- Add support for formatting Jupyter Notebook files (#2357)
\n- Move from
\nappdirs
dependency toplatformdirs
(#2375)- Present a more user-friendly error if .gitignore is invalid (#2414)
\n- The failsafe for accidentally added backslashes in f-string expressions has been\nhardened to handle more edge cases during quote normalization (#2437)
\n- Avoid changing a function return type annotation's type to a tuple by adding a\ntrailing comma (#2384)
\n- Parsing support has been added for unparenthesized walruses in set literals, set\ncomprehensions, and indices (#2447).
\n- Pin
\nsetuptools-scm
build-time dependency version (#2457)- Exclude typing-extensions version 3.10.0.1 due to it being broken on Python 3.10\n(#2460)
\nBlackd
\n\n
\n- Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that\nscan installed packages (#2440)
\nIntegrations
\n\n
\n- The provided pre-commit hooks no longer specify
\nlanguage_version
to avoid overriding\ndefault_language_version
(#2430)