Skip to content

Commit 71266e1

Browse files
authored
Changes to support upgrade to Python 3.11.2. (#63)
1 parent 51e5cad commit 71266e1

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10.6-slim
1+
FROM python:3.11.2-slim
22

33
RUN apt-get update \
44
&& apt-get install curl -y \
@@ -12,3 +12,4 @@ WORKDIR /opt/analyzer
1212

1313
RUN pip install -r requirements.txt -r dev-requirements.txt
1414
ENTRYPOINT ["/opt/analyzer/bin/run.sh"]
15+

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ For example:
1313
Unit tests can be run from this directory:
1414

1515
```bash
16-
pylint -x
16+
pytest -x
1717
```

dev-requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pytest~=7.1.2
2-
pytest-subtests~=0.5.0
3-
tomli~=2.0.1
1+
pytest~=7.2.2
2+
pytest-subtests~=0.10.0
3+
tomli>=1.1.0; python_full_version < '3.11.2'

lib/common/.pylintrc

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ confidence=
104104
# unused-argument,
105105
# unused-import,
106106
# useless-suppression
107+
disable=trailing-whitespace,missing-final-newline
108+
107109

108110
[REPORTS]
109111

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
pylint~=2.14.5
1+
pylint >=2.17.1
2+
plerr ~=3.0.0

0 commit comments

Comments
 (0)