supriya-project / uqbar

Tools for building documentation with Sphinx, Graphviz and LaTeX
https://supriya-project.github.io/uqbar
MIT License
13 stars 7 forks source link

Clean up black.FileMode initialization #58

Closed trevorbaca closed 2 years ago

trevorbaca commented 2 years ago

Black 22.1.0 (2022-01-29) breaks when black.FileMode.target_versions is passed as a list.

The patch here changes target_version to a set; APIs test correctly with the version of black and with older versions of the package, too.

josiah-wolf-oberholtzer commented 2 years ago

@trevorbaca v0.5.9 now released on PyPI: https://pypi.org/project/uqbar/0.5.9/

trevorbaca commented 2 years ago

Wow! Thank you @josiah-wolf-oberholtzer! Works 100% for Abjad builds.