Skip to content

Commit f6e4f58

Browse files
Fix pytype check: Move it to the Python3.11 matrix
1 parent e5288a1 commit f6e4f58

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ repos:
126126
types: [python]
127127
verbose: true
128128
language: python
129-
language_version: python3.8
129+
language_version: python3.11
130130
require_serial: true
131131
additional_dependencies:
132132
- pytype

pytype_runner.py

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def setup_and_run_pytype_action(script_name: str):
166166
# Write the panda table to a markdown output file:
167167
summary_file = os.environ.get("GITHUB_STEP_SUMMARY", None)
168168
if summary_file:
169+
os.makedirs(os.path.dirname(summary_file), exist_ok=True)
169170
with open(summary_file, "w", encoding="utf-8") as fp:
170171
to_markdown(script_name, fp, retcode, results, filelink_baseurl)
171172
else:

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# .github/workflows/main.yml is set up to test with 3.11, 3.12 and 3.13 in parallel.
1212
# Therefore, use three environments: One with 3.11, one with 3.12 and one with 3.13:
1313
#
14-
envlist = py311-covcp-check-mdreport, py312-cov-pytype, py313-cov-lint-pyright
14+
envlist = py311-covcp-check-pytype-mdreport, py312-cov, py313-cov-lint-pyright
1515
isolated_build = true
1616
skip_missing_interpreters = true
1717
requires =

0 commit comments

Comments
 (0)