Skip to content

Commit 9d98d71

Browse files
authored
ci: Add mypy problem matcher (#5692)
1 parent 4981172 commit 9d98d71

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/api-pull-request.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,20 @@ jobs:
6666
opts: --no-input --dry-run --check
6767
run: make django-make-migrations
6868

69+
70+
- uses: liskin/gh-problem-matcher-wrap@v2
71+
with:
72+
action: add
73+
linters: mypy
74+
6975
- name: Check for new typing errors
7076
run: make typecheck
7177

78+
- uses: liskin/gh-problem-matcher-wrap@v2
79+
with:
80+
action: remove
81+
linters: mypy
82+
7283
- name: Check autogenerated documentation
7384
uses: nickcharlton/diff-check@v1.0.0
7485
with:

api/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ console_output_style = 'count'
7878
[tool.mypy]
7979
plugins = ["mypy_django_plugin.main"]
8080
strict = true
81+
show_absolute_path = true
8182

8283
[[tool.mypy.overrides]]
8384
module = ["admin_sso.models"]

0 commit comments

Comments
 (0)