Skip to content
Snippets Groups Projects
Commit 40b59906 authored by Anton Joubert's avatar Anton Joubert
Browse files

Pin pylint to avoid failures

The newer container has pylint 2.5.2, which now fails with
errors like:
```
src/ska/base/__init__.py:17: [E0401(import-error), ] Unable to import 'src.ska.base.base_device'
```

Pinning to an earlier version of pylint to avoid this.
parent 5cf49dcf
Branches
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ test: ...@@ -34,6 +34,7 @@ test:
# FIXME: Add pylint2junit to the tango-builder:latest image so that we don't need to install it here. # FIXME: Add pylint2junit to the tango-builder:latest image so that we don't need to install it here.
# FIXME: Missing functionality in pylint2junit prevents converting from parseable to xml. Once it's implemented there is no need to run linting twice. # FIXME: Missing functionality in pylint2junit prevents converting from parseable to xml. Once it's implemented there is no need to run linting twice.
lint: lint:
python3 -m pip install -U pylint==2.4.4; \
python3 -m pip install pylint2junit; \ python3 -m pip install pylint2junit; \
mkdir -p /build/reports; \ mkdir -p /build/reports; \
cd /app && pylint --output-format=parseable src/ska | tee /build/code_analysis.stdout; \ cd /app && pylint --output-format=parseable src/ska | tee /build/code_analysis.stdout; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment