Skip to content
Open
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ repos:
- id: pyupgrade
args: [--py39-plus]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.0
hooks:
- id: mypy
args: ["django_tables2/__init__.py"]
2 changes: 0 additions & 2 deletions django_tables2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
JSONColumn,
LinkColumn,
ManyToManyColumn,
RelatedLinkColumn,
TemplateColumn,
TimeColumn,
URLColumn,
Expand All @@ -35,7 +34,6 @@
"JSONColumn",
"LinkColumn",
"ManyToManyColumn",
"RelatedLinkColumn",
"TemplateColumn",
"TimeColumn",
"URLColumn",
Expand Down
3 changes: 1 addition & 2 deletions django_tables2/columns/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .emailcolumn import EmailColumn
from .filecolumn import FileColumn
from .jsoncolumn import JSONColumn
from .linkcolumn import LinkColumn, RelatedLinkColumn
from .linkcolumn import LinkColumn
from .manytomanycolumn import ManyToManyColumn
from .templatecolumn import TemplateColumn
from .timecolumn import TimeColumn
Expand All @@ -26,7 +26,6 @@
"JSONColumn",
"LinkColumn",
"ManyToManyColumn",
"RelatedLinkColumn",
"TemplateColumn",
"URLColumn",
"TimeColumn",
Expand Down
Loading
Loading