Update to the current version of Black and run it on Synapse codebase (#11596)

* update black version

* run updated version of black on code

* newsfragment

* enumerate python versions
This commit is contained in:
Shay 2021-12-23 20:22:15 -08:00 committed by GitHub
parent 66d7aa783a
commit fcfe67578f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 4 deletions

View file

@ -96,7 +96,7 @@ CONDITIONAL_REQUIREMENTS["all"] = list(ALL_OPTIONAL_REQUIREMENTS)
# We pin black so that our tests don't start failing on new releases.
CONDITIONAL_REQUIREMENTS["lint"] = [
"isort==5.7.0",
"black==21.6b0",
"black==21.12b0",
"flake8-comprehensions",
"flake8-bugbear==21.3.2",
"flake8",