Skip to content

Commit

Permalink
Pin black version (apache#8139)
Browse files Browse the repository at this point in the history
This commit pins the black version to provide stability.
It is expected that the pinned version will be moved forward periodically.

Change-Id: Ied866bff85a1a832959bc1d4673a7fdec68128a7
  • Loading branch information
NicolaLancellotti authored May 28, 2021
1 parent dad59be commit f0aedc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.ci_lint
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN bash /install/ubuntu1804_install_python.sh

RUN apt-get update && apt-get install -y doxygen graphviz

RUN pip3 install cpplint pylint==2.4.4 mypy black
RUN pip3 install cpplint pylint==2.4.4 mypy black==20.8b1

# java deps for rat
COPY install/ubuntu_install_java.sh /install/ubuntu_install_java.sh
Expand Down
2 changes: 1 addition & 1 deletion python/gen_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
("astroid", None),
("attrs", None),
("autodocsumm", None),
("black", None),
("black", "==20.8b1"),
("cloudpickle", None),
("commonmark", ">=0.7.3"), # From PR #213.
("coremltools", None),
Expand Down

0 comments on commit f0aedc4

Please sign in to comment.