eric7.Plugins.CheckerPlugins.CodeStyleChecker.Pydantic.PydanticChecker

Module implementing a checker for pydantic related issues.

Global Attributes

None

Classes

PydanticChecker Class implementing a checker for pydantic related issues.

Functions

None


PydanticChecker

Class implementing a checker for pydantic related issues.

Derived from

CodeStyleTopicChecker

Class Attributes

Category
Codes

Class Methods

None

Methods

PydanticChecker Constructor
__checkPydantic Private method to check pydantic related topics.

Static Methods

None

PydanticChecker (Constructor)

PydanticChecker(source, filename, tree, select, ignore, expected, repeat, args)

Constructor

source (list of str)
source code to be checked
filename (str)
name of the source file
tree (ast.Module)
AST tree of the source code
select (list of str)
list of selected codes
ignore (list of str)
list of codes to be ignored
expected (list of str)
list of expected codes
repeat (bool)
flag indicating to report each occurrence of a code
args (dict)
dictionary of arguments for the various checks

PydanticChecker.__checkPydantic

__checkPydantic()

Private method to check pydantic related topics.

Up