Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typing, remove deprecated RelatedLinkColumn #974

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
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