diff options
-rw-r--r-- | scripts/dev/misc_checks.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index 5c654235c..afbb5e791 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -214,6 +214,10 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]: re.compile(r'Q_(ENUM|FLAG)'), "Q_ENUM and Q_FLAG are removed in PyQt 6", ), + ( + re.compile(r'attr\.(s|ib)($|\()'), + "attrs have been replaced by dataclasses in qutebrowser.", + ), ] # Files which should be ignored, e.g. because they come from another |