Skip to content

Commit e7c17de

Browse files
committed
Release 0.9.1
1 parent 7541406 commit e7c17de

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
### Unreleased
44

5+
### 0.9.1
6+
7+
- Replace DeprecationWarning with FutureWarning for `@ignore_checks`
8+
59
### 0.9.0
610

711
- Disable checks with `extra-checks-disable-next-line` comment

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = django-extra-checks
3-
version = 0.9.0
3+
version = 0.9.1
44
author = Konstantin Alekseev
55
author_email = [email protected]
66
description = Collection of useful checks for Django Checks Framework

src/extra_checks/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def ignore_checks(self, *args: Union[CheckId, str]) -> Callable[[Any], Any]:
145145
checks = ", ".join([c.value if isinstance(c, CheckId) else c for c in args])
146146
warnings.warn(
147147
f'@ignore_checks is deprecated and will be removed in version 0.11.0, replace it with comment "# extra-checks-disable-next-line {checks}"',
148-
DeprecationWarning,
148+
FutureWarning,
149149
)
150150

151151
def f(entity: Any) -> Any:

0 commit comments

Comments
 (0)