Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaeacb00

Browse files
committed
Colorize mypy output on CI for easier reading
See:-python/mypy#13815-python/mypy#13817This seems to be working in in all jobs *except* for the Python 3.7and 3.8 jobs on macOS.
1 parent9ed904c commitaeacb00

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ jobs:
8989
-name:Check types with mypy
9090
run:|
9191
mypy --python-version=${{ matrix.python-version }} -p git
92-
# With new versions of mypy new issues might arise. This is a problem if there is nobody able to fix them,
93-
# so we have to ignore errors until that changes.
92+
env:
93+
MYPY_FORCE_COLOR:"1"
94+
TERM:"xterm-256color"# For color: https://github.com/python/mypy/issues/13817
95+
# With new versions of mypy new issues might arise. This is a problem if there is
96+
# nobody able to fix them, so we have to ignore errors until that changes.
9497
continue-on-error:true
9598

9699
-name:Test with pytest

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp