Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,20 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
python3-distutils \
python3-setuptools

# Ubuntu 18.04 ships very old packaging tools; upgrade them before resolving
# current lint dependencies.
RUN ${PYTHON_VERSION} -m pip install --no-cache-dir --upgrade \
"pip<24.1" \
"setuptools>=68,<70" \
wheel

# Clean up apt-get
RUN apt-get clean && rm -rf /var/lib/apt/lists/*

# Install flake8, pylint and flakeheaven, then plugins for flakeheaven
RUN ${PYTHON_VERSION} -m pip install --no-cache-dir \
flake8==4.0.1 \
pylint>=2.15.0 \
"pylint<=4.0.7" \
flakeheaven>=3.0.0 \
flake8-bugbear>=22.7.1 \
flake8-comprehensions>=3.10.0 \
Expand Down
Loading