summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-07-13 22:15:01 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-07-13 22:16:42 +0200
commitf82c8cb5fe20c31e43ba0973442d4d19b45f217e (patch)
tree0770d2bd7b87f3550e498c13070a83c998ab90d7 /.github
parent033baad2f2adbd99bb5ddfd044492d33ef6c622c (diff)
downloadqutebrowser-f82c8cb5fe20c31e43ba0973442d4d19b45f217e.tar.gz
qutebrowser-f82c8cb5fe20c31e43ba0973442d4d19b45f217e.zip
ci: Improve mypy output
- Set MYPY_FORCE_TERMINAL_WIDTH to get 180-column output (rather than 80), so that error messages fit on one line. - Set MYPY_FORCE_COLOR to get colored output - Adjust problemmatcher regex accordingly
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e1d6ed118..5a1f1f7fd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,6 +2,8 @@ name: CI
on: [push, pull_request]
env:
PY_COLORS: "1"
+ MYPY_FORCE_TERMINAL_WIDTH: "180"
+ MYPY_FORCE_COLOR: "1"
jobs:
linters: