Skip to content

Commit

Permalink
Pin black to 19.3b0 to avoid errors trying to compile regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
emosenkis committed Dec 10, 2019
1 parent e2f1b35 commit 5a453cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ venv:
python3 -m venv venv
venv/bin/pip -q install --upgrade pip
venv/bin/pip -q install --upgrade -r tools/requirements.txt
venv/bin/pip -q install --upgrade black
venv/bin/pip -q install --upgrade black==19.3b0 # Versions newer than this require regex, which fails to compile

# selectively reformat our own code
black: venv
Expand Down Expand Up @@ -135,4 +135,4 @@ test-docker:
travis:
$(MAKE) test VENV=". ../../venv/bin/activate;"
$(MAKE) test-docker
$(MAKE) black
$(MAKE) black

0 comments on commit 5a453cb

Please sign in to comment.