Skip to content

Commit 50634cf

Browse files
committed
Add tabulate to mypy.ini
1 parent 4064df3 commit 50634cf

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/django.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
- name: Run ruff
1111
run: docker compose run django ruff check styleguide_example/
1212
- name: Run mypy
13-
run: |
14-
docker compose run django mypy --config mypy.ini --install-types
15-
docker compose run django mypy --config mypy.ini styleguide_example/
13+
run: docker compose run django mypy --config mypy.ini styleguide_example/
1614
- name: Run tests
1715
run: docker compose run django py.test
1816

@@ -51,9 +49,7 @@ jobs:
5149
- name: Run ruff
5250
run: ruff check .
5351
- name: Type check
54-
run: |
55-
mypy --config mypy.ini --install-types
56-
mypy --config mypy.ini styleguide_example/
52+
run: mypy --config mypy.ini styleguide_example/
5753
- name: Run tests
5854
run: pytest
5955

mypy.ini

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ ignore_missing_imports = True
4444

4545
[mypy-qrcode.*]
4646
# Remove this when qrcode stubs are present
47-
ignore_missing_imports = True
47+
ignore_missing_imports = True
48+
49+
[mypy-tabulate.*]
50+
# Remove this when qrcode stubs are present
51+
ignore_missing_imports = True

0 commit comments

Comments
 (0)