Wed, 01 Dec 2021 20:09:57 +0100
Continued implementing a checker for import statements.
# -*- coding: utf-8 -*- # Copyright (c) 2021 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing message translations for the code style plugin messages (import statements part). """ from PyQt6.QtCore import QCoreApplication _importsMessages = { "I101": QCoreApplication.translate( "ImportsChecker", "local import must be at the beginning of the method body"), "I102": QCoreApplication.translate( "ImportsChecker", "packages from external modules should not be imported locally"), "I103": QCoreApplication.translate( "ImportsChecker", "packages from standard modules should not be imported locally"), } _importsMessagesSampleArgs = { }