Skip to content

Commit eb21769

Browse files
committed
Dockerfile: update Python linting, formatting and protobuf tools
Linting and mypy compatible anymore since a recent Docker image rebuild installed a newer Python version. Updating mypy-protobuf also updates the Python protobuf code generator to fix typing issues. Black is updated for good measure. The changes that follow from this (linting fixes, updated protobuf generated code, etc.) will come in a future commit which will use the updated Docker image for CI.
1 parent 6a56406 commit eb21769

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,12 @@ RUN python3 -m pip install --upgrade --requirement /tmp/requirements.txt
8383
RUN rm /tmp/requirements.txt
8484

8585
# Python modules for CI
86-
# TODO: This emits a warning about astroid that is safe to ignore?
87-
# https://github.com/PyCQA/astroid/issues/699
8886
RUN python3 -m pip install --upgrade \
89-
pylint==2.4.1 \
90-
pylint-protobuf==0.11 \
91-
black==19.3b0 \
92-
mypy==0.720 \
93-
mypy-protobuf==1.13
87+
pylint==2.11.1 \
88+
pylint-protobuf==0.20.2 \
89+
black==21.11b1 \
90+
mypy==0.910 \
91+
mypy-protobuf==3.0.0
9492

9593
# Python modules for packaging
9694
RUN python3 -m pip install --upgrade \

0 commit comments

Comments
 (0)