Skip to content

Commit 89b0117

Browse files
committed
build: run pylint on 3.10 to avoid 'generator already running'
1 parent 530b581 commit 89b0117

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: "Install Python"
8181
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8282
with:
83-
python-version: "3.9" # Minimum of PYVERSIONS
83+
python-version: "3.10" # Minimum of PYVERSIONS
8484
cache: pip
8585
cache-dependency-path: 'requirements/*.pip'
8686

coverage/sysmon.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ def _wrapped(self: Any, *args: Any) -> Any:
140140
except Exception as exc:
141141
log(f"!!{exc.__class__.__name__}: {exc}")
142142
if 1:
143-
# pylint: disable=no-value-for-parameter
144143
log("".join(traceback.format_exception(exc)))
145144
try:
146145
assert sys_monitoring is not None

tests/test_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def assert_valid_hrefs(self, directory: str = "htmlcov") -> None:
140140
)
141141

142142

143-
class HtmlReportParser(HTMLParser): # pylint: disable=abstract-method
143+
class HtmlReportParser(HTMLParser):
144144
"""An HTML parser for our HTML reports.
145145
146146
Assertions are made about the structure we expect.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ commands =
9898

9999
[testenv:lint]
100100
# Minimum of PYVERSIONS
101-
basepython = python3.9
101+
basepython = python3.10
102102
deps =
103103
-r requirements/dev.pip
104104

0 commit comments

Comments
 (0)