JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc
Third-Party External

Python Warning Classes Corresponding to Pylint Rules

This page describes the CodeSonar warning classes that are assigned to warnings imported from a SARIF file produced by Pylint.

See also the table of CodeSonar warning classes that are supported for all languages. If these classes are enabled, the corresponding CodeSonar checks will include all Python source files that were imported into the project with codesonar python_scan.py, codesonar import_sarif.py, or codesonar add_source_files.py.



Introduction

This page describes the CodeSonar warning classes that are assigned to warnings imported from a SARIF file produced by Pylint.

For information on setting up your CodeSonar project to incorporate Python source code and the corresponding Pylint results, see Including Python Components in a CodeSonar Project.

Python Warning Classes from Pylint Rules

When CodeSonar imports a SARIF file, it determines a corresponding CodeSonar warning class for each rule object in the SARIF rules. If a given warning class does not already exist, the SARIF importer creates it.

There is special handling for SARIF files produced by Pylint.

Pylint-specific handling for warning class names and categories

CodeSonar Warning Property Value
Name Generated from the name property of the rule object (which in turn matches a Pylint message name) as follows.
  • The hyphenated, lower-case property name is transformed to space-separated title case.
    This includes capitalizing all words, except for minor words such as "or" and "and".
  • " (Pylint)" is appended to the resulting string.
    This greatly reduces the chance of collision with warning class names from other sources, which is important because warning class Name is a unique identifier. It also provides a ready mechanism for visually and programmatically identifying CodeSonar warnings that originate from Pylint results.
Categories When a warning class is based on a Pylint message, its categories depend on whether the warning class is built in to CodeSonar or created by the SARIF importer.
  • In both cases, the class has a category of the form Pylint:<id>
    <id> is the Pylint message ID, which matches the id property of the SARIF rule object.
  • For built-in classes only, there is also a warning class mnemonic: PYTHON.<cat>.<abbr>
    <cat> is based on the Pylint message category and <abbr> is an abbreviation of the class Name.
otherwise Other warning class properties are not set by the SARIF importer.

Example

Suppose the imported SARIF file includes a rule object like the following.

# ...
    "rules":[
        # ...
      {
          "id": "C0103",
          "name": "invalid-name",
        # ...
      },
      # ...
    ], 
# ...

(This corresponds to the Pylint invalid-name message.)

  1. CodeSonar computes the corresponding warning class name: "Invalid Name (Pylint)".
  2. If there is not already a warning class with this name, CodeSonar creates the warning class.
    The new warning class will have one associated category: Pylint:C0103.
  3. CodeSonar creates a "Invalid Name (Pylint)" warning instance for each result entry in the SARIF that has "ruleID": "C0103".

SARIF files produced by Pylint

CodeSonar will consider a SARIF file to be produced by Pylint in the following cases.

Built-in Python Warning Classes

These warning classes correspond to messages from Pylint version v3.0.3.

Class Name Mnemonic
Abstract Class Instantiated (Pylint) PYTHON.ERROR.ACI
Abstract Method (Pylint) PYTHON.WARNING.AM
Access Member Before Definition (Pylint) PYTHON.ERROR.AMBD
Anomalous Backslash in String (Pylint) PYTHON.WARNING.ABIS
Anomalous Unicode Escape in String (Pylint) PYTHON.WARNING.AUEIS
Arguments Differ (Pylint) PYTHON.WARNING.AD
Arguments Out of Order (Pylint) PYTHON.WARNING.AOOO
Arguments Renamed (Pylint) PYTHON.WARNING.AR
Assert on String Literal (Pylint) PYTHON.WARNING.AOSL
Assert on Tuple (Pylint) PYTHON.WARNING.AOT
Assigning Non Slot (Pylint) PYTHON.ERROR.ANS
Assignment From No Return (Pylint) PYTHON.ERROR.AFNR
Assignment From None (Pylint) PYTHON.ERROR.AFN
Astroid Error (Pylint) PYTHON.FAILURE.AE
Attribute Defined Outside Init (Pylint) PYTHON.WARNING.ADOI
Await Outside Async (Pylint) PYTHON.ERROR.AOA
Bad Chained Comparison (Pylint) PYTHON.WARNING.BCC
Bad Classmethod Argument (Pylint) PYTHON.CONVENTION.BCA
Bad Configuration Section (Pylint) PYTHON.ERROR.BCS
Bad Except Order (Pylint) PYTHON.ERROR.BEO
Bad Exception Cause (Pylint) PYTHON.ERROR.BEC
Bad File Encoding (Pylint) PYTHON.CONVENTION.BFE
Bad Format Character (Pylint) PYTHON.ERROR.BFC
Bad Format String (Pylint) PYTHON.WARNING.BFS
Bad Format String Key (Pylint) PYTHON.WARNING.BFSK
Bad Indentation (Pylint) PYTHON.WARNING.BI
Bad Inline Option (Pylint) PYTHON.INFORMATIONAL.BIO
Bad Mcs Classmethod Argument (Pylint) PYTHON.CONVENTION.BMCA
Bad Mcs Method Argument (Pylint) PYTHON.CONVENTION.BMMA
Bad Open Mode (Pylint) PYTHON.WARNING.BOM
Bad Plugin Value (Pylint) PYTHON.ERROR.BPV
Bad Reversed Sequence (Pylint) PYTHON.ERROR.BRS
Bad Staticmethod Argument (Pylint) PYTHON.WARNING.BSA
Bad Str Strip Call (Pylint) PYTHON.ERROR.BSSC
Bad String Format Type (Pylint) PYTHON.ERROR.BSFT
Bad Super Call (Pylint) PYTHON.ERROR.BSC
Bad Thread Instantiation (Pylint) PYTHON.WARNING.BTI
Bare Except (Pylint) PYTHON.WARNING.BE
Bidirectional Unicode (Pylint) PYTHON.ERROR.BU
Binary Op Exception (Pylint) PYTHON.WARNING.BOE
Boolean Datetime (Pylint) PYTHON.WARNING.BD
Broad Exception Caught (Pylint) PYTHON.WARNING.BEC
Broad Exception Raised (Pylint) PYTHON.WARNING.BER
C Extension No Member (Pylint) PYTHON.INFORMATIONAL.CENM
Catching Non Exception (Pylint) PYTHON.ERROR.CNE
Cell Var From Loop (Pylint) PYTHON.WARNING.CVFL
Chained Comparison (Pylint) PYTHON.REFACTOR.CC
Class Variable Slots Conflict (Pylint) PYTHON.ERROR.CVSC
Comparison With Callable (Pylint) PYTHON.WARNING.CWC
Comparison With Itself (Pylint) PYTHON.REFACTOR.CWI
Comparison of Constants (Pylint) PYTHON.REFACTOR.COC
Condition Evals to Constant (Pylint) PYTHON.REFACTOR.CETC
Config Parse Error (Pylint) PYTHON.FAILURE.CPE
Confusing With Statement (Pylint) PYTHON.WARNING.CWS
Consider Iterating Dictionary (Pylint) PYTHON.CONVENTION.CID
Consider Merging Isinstance (Pylint) PYTHON.REFACTOR.CMI
Consider Swap Variables (Pylint) PYTHON.REFACTOR.CSV
Consider Using Dict Comprehension (Pylint) PYTHON.REFACTOR.CUDC
Consider Using Dict Items (Pylint) PYTHON.CONVENTION.CUDI
Consider Using Enumerate (Pylint) PYTHON.CONVENTION.CUE
Consider Using F String (Pylint) PYTHON.CONVENTION.CUFS
Consider Using From Import (Pylint) PYTHON.REFACTOR.CUFI
Consider Using Generator (Pylint) PYTHON.REFACTOR.CUGEN
Consider Using Get (Pylint) PYTHON.REFACTOR.CUGET
Consider Using Join (Pylint) PYTHON.REFACTOR.CUJ
Consider Using Max Builtin (Pylint) PYTHON.REFACTOR.CUMAXB
Consider Using Min Builtin (Pylint) PYTHON.REFACTOR.CUMINB
Consider Using Set Comprehension (Pylint) PYTHON.REFACTOR.CUSC
Consider Using Sys Exit (Pylint) PYTHON.REFACTOR.CUSE
Consider Using Ternary (Pylint) PYTHON.REFACTOR.CUT
Consider Using With (Pylint) PYTHON.REFACTOR.CUW
Consider Using in (Pylint) PYTHON.REFACTOR.CUI
Continue in Finally (Pylint) PYTHON.ERROR.CIF
Cyclic Import (Pylint) PYTHON.REFACTOR.CI
Dangerous Default Value (Pylint) PYTHON.WARNING.DDV
Deprecated Argument (Pylint) PYTHON.WARNING.DA
Deprecated Class (Pylint) PYTHON.WARNING.DC
Deprecated Decorator (Pylint) PYTHON.WARNING.DD
Deprecated Method (Pylint) PYTHON.WARNING.DMETH
Deprecated Module (Pylint) PYTHON.WARNING.DMOD
Deprecated Pragma (Pylint) PYTHON.INFORMATIONAL.DP
Dict Iter Missing Items (Pylint) PYTHON.ERROR.DIMI
Disallowed Name (Pylint) PYTHON.CONVENTION.DN
Duplicate Argument Name (Pylint) PYTHON.ERROR.DAN
Duplicate Bases (Pylint) PYTHON.ERROR.DB
Duplicate Code (Pylint) PYTHON.REFACTOR.DC
Duplicate Except (Pylint) PYTHON.WARNING.DE
Duplicate Key (Pylint) PYTHON.WARNING.DK
Duplicate String Formatting Argument (Pylint) PYTHON.WARNING.DSFA
Duplicate Value (Pylint) PYTHON.WARNING.DV
Empty Docstring (Pylint) PYTHON.CONVENTION.ED
Eval Used (Pylint) PYTHON.WARNING.EVALU
Exec Used (Pylint) PYTHON.WARNING.EXECU
Expression Not Assigned (Pylint) PYTHON.WARNING.ENA
F String Without Interpolation (Pylint) PYTHON.WARNING.FSTRWI
Fatal (Pylint) PYTHON.FAILURE.FATAL
File Ignored (Pylint) PYTHON.INFORMATIONAL.FI
Fixme (Pylint) PYTHON.WARNING.FIXME
Forgotten Debug Statement (Pylint) PYTHON.WARNING.FDS
Format Combined Specification (Pylint) PYTHON.WARNING.FCS
Format Needs Mapping (Pylint) PYTHON.ERROR.FNM
Format String Without Interpolation (Pylint) PYTHON.WARNING.FMTSWI
Function Redefined (Pylint) PYTHON.ERROR.FR
Global Statement (Pylint) PYTHON.WARNING.GS
Global Variable Not Assigned (Pylint) PYTHON.WARNING.GVNA
Global Variable Undefined (Pylint) PYTHON.WARNING.GVU
Global at Module Level (Pylint) PYTHON.WARNING.GAML
Implicit Flag Alias (Pylint) PYTHON.WARNING.IFA
Implicit Str Concat (Pylint) PYTHON.WARNING.ISC
Import Error (Pylint) PYTHON.ERROR.IE
Import Outside Toplevel (Pylint) PYTHON.CONVENTION.IOT
Import Self (Pylint) PYTHON.WARNING.IS
Inconsistent Mro (Pylint) PYTHON.ERROR.IMRO
Inconsistent Quotes (Pylint) PYTHON.WARNING.IQ
Inconsistent Return Statements (Pylint) PYTHON.REFACTOR.IRS
Inherit Non Class (Pylint) PYTHON.ERROR.INC
Init Is Generator (Pylint) PYTHON.ERROR.IIG
Invalid All Format (Pylint) PYTHON.ERROR.IAF
Invalid All Object (Pylint) PYTHON.ERROR.IAO
Invalid Bool Returned (Pylint) PYTHON.ERROR.INBOOLRET
Invalid Bytes Returned (Pylint) PYTHON.ERROR.INBYTERET
Invalid Character Backspace (Pylint) PYTHON.ERROR.ICB
Invalid Character Carriage Return (Pylint) PYTHON.ERROR.ICCR
Invalid Character Esc (Pylint) PYTHON.ERROR.ICE
Invalid Character Nul (Pylint) PYTHON.ERROR.ICN
Invalid Character Sub (Pylint) PYTHON.ERROR.ICS
Invalid Character Zero Width Space (Pylint) PYTHON.ERROR.ICZWS
Invalid Characters in Docstring (Pylint) PYTHON.CONVENTION.ICID
Invalid Class Object (Pylint) PYTHON.ERROR.ICO
Invalid Enum Extension (Pylint) PYTHON.ERROR.IEE
Invalid Envvar Default (Pylint) PYTHON.WARNING.IED
Invalid Envvar Value (Pylint) PYTHON.ERROR.IEV
Invalid Field Call (Pylint) PYTHON.ERROR.IFC
Invalid Format Index (Pylint) PYTHON.WARNING.IFI
Invalid Format Returned (Pylint) PYTHON.ERROR.IFR
Invalid Getnewargs Ex Returned (Pylint) PYTHON.ERROR.IGER
Invalid Getnewargs Returned (Pylint) PYTHON.ERROR.IGR
Invalid Hash Returned (Pylint) PYTHON.ERROR.IHR
Invalid Index Returned (Pylint) PYTHON.ERROR.IIR
Invalid Length Hint Returned (Pylint) PYTHON.ERROR.ILHR
Invalid Length Returned (Pylint) PYTHON.ERROR.ILR
Invalid Metaclass (Pylint) PYTHON.ERROR.IMETACLS
Invalid Name (Pylint) PYTHON.CONVENTION.IN
Invalid Overridden Method (Pylint) PYTHON.WARNING.IOM
Invalid Repr Returned (Pylint) PYTHON.ERROR.IRR
Invalid Sequence Index (Pylint) PYTHON.ERROR.ISEQIDX
Invalid Slice Index (Pylint) PYTHON.ERROR.ISLIDX
Invalid Slice Step (Pylint) PYTHON.ERROR.ISS
Invalid Slots (Pylint) PYTHON.ERROR.IS
Invalid Slots Object (Pylint) PYTHON.ERROR.ISO
Invalid Star Assignment Target (Pylint) PYTHON.ERROR.ISAT
Invalid Str Returned (Pylint) PYTHON.ERROR.ISR
Invalid Unary Operand Type (Pylint) PYTHON.ERROR.IUOT
Invalid Unicode Codec (Pylint) PYTHON.ERROR.IUC
Isinstance Second Argument Not Valid Type (Pylint) PYTHON.WARNING.ISANVT
Keyword Arg Before Vararg (Pylint) PYTHON.WARNING.KABV
Kwarg Superseded By Positional Arg (Pylint) PYTHON.WARNING.KSBPA
Line Too Long (Pylint) PYTHON.CONVENTION.LTL
Literal Comparison (Pylint) PYTHON.REFACTOR.LC
Locally Disabled (Pylint) PYTHON.INFORMATIONAL.LD
Logging Format Interpolation (Pylint) PYTHON.WARNING.LFMTI
Logging Format Truncated (Pylint) PYTHON.ERROR.LFT
Logging Fstring Interpolation (Pylint) PYTHON.WARNING.LFSTRI
Logging Not Lazy (Pylint) PYTHON.WARNING.LNL
Logging Too Few Args (Pylint) PYTHON.ERROR.LTFA
Logging Too Many Args (Pylint) PYTHON.ERROR.LTMA
Logging Unsupported Format (Pylint) PYTHON.ERROR.LUF
Lost Exception (Pylint) PYTHON.WARNING.LE
Method Cache Max Size None (Pylint) PYTHON.WARNING.MCMSN
Method Check Failed (Pylint) PYTHON.FAILURE.MCF
Method Hidden (Pylint) PYTHON.ERROR.MH
Misplaced Bare Raise (Pylint) PYTHON.ERROR.MBR
Misplaced Format Function (Pylint) PYTHON.ERROR.MFF
Misplaced Future (Pylint) PYTHON.WARNING.MF
Missing Class Docstring (Pylint) PYTHON.CONVENTION.MCD
Missing Final Newline (Pylint) PYTHON.CONVENTION.MFN
Missing Format Argument Key (Pylint) PYTHON.WARNING.MFAK
Missing Format Attribute (Pylint) PYTHON.WARNING.MFA
Missing Format String Key (Pylint) PYTHON.ERROR.MFSK
Missing Function Docstring (Pylint) PYTHON.CONVENTION.MFD
Missing Kwoa (Pylint) PYTHON.ERROR.MK
Missing Module Docstring (Pylint) PYTHON.CONVENTION.MMD
Missing Parentheses for Call in Test (Pylint) PYTHON.WARNING.MPFCIT
Missing Timeout (Pylint) PYTHON.WARNING.MT
Mixed Format String (Pylint) PYTHON.ERROR.MFS
Mixed Line Endings (Pylint) PYTHON.CONVENTION.MLE
Modified Iterating Dict (Pylint) PYTHON.ERROR.MID
Modified Iterating List (Pylint) PYTHON.WARNING.MIL
Modified Iterating Set (Pylint) PYTHON.ERROR.MIS
Multiple Imports (Pylint) PYTHON.CONVENTION.MI
Multiple Statements (Pylint) PYTHON.CONVENTION.MS
Named Expr Without Context (Pylint) PYTHON.WARNING.NEWC
Nan Comparison (Pylint) PYTHON.WARNING.NC
Nested Min Max (Pylint) PYTHON.WARNING.NMM
No Classmethod Decorator (Pylint) PYTHON.REFACTOR.NCD
No Else Break (Pylint) PYTHON.REFACTOR.NEB
No Else Continue (Pylint) PYTHON.REFACTOR.NEC
No Else Raise (Pylint) PYTHON.REFACTOR.NERSE
No Else Return (Pylint) PYTHON.REFACTOR.NERET
No Member (Pylint) PYTHON.ERROR.NM
No Method Argument (Pylint) PYTHON.ERROR.NMA
No Name in Module (Pylint) PYTHON.ERROR.NNIM
No Self Argument (Pylint) PYTHON.ERROR.NSA
No Staticmethod Decorator (Pylint) PYTHON.REFACTOR.NSD
No Value for Parameter (Pylint) PYTHON.ERROR.NVFP
Non Ascii File Name (Pylint) PYTHON.WARNING.NAFN
Non Ascii Module Import (Pylint) PYTHON.CONVENTION.NAMI
Non Ascii Name (Pylint) PYTHON.CONVENTION.NAN
Non Iterator Returned (Pylint) PYTHON.ERROR.NIR
Non Parent Init Called (Pylint) PYTHON.WARNING.NPIC
Non Str Assignment to Dunder Name (Pylint) PYTHON.WARNING.NSATDN
Nonexistent Operator (Pylint) PYTHON.ERROR.NO
Nonlocal Without Binding (Pylint) PYTHON.ERROR.NWB
Nonlocal and Global (Pylint) PYTHON.ERROR.NAG
Not Async Context Manager (Pylint) PYTHON.ERROR.NACM
Not Callable (Pylint) PYTHON.ERROR.NC
Not Context Manager (Pylint) PYTHON.ERROR.NCM
Not a Mapping (Pylint) PYTHON.ERROR.NAM
Not an Iterable (Pylint) PYTHON.ERROR.NAI
Not in Loop (Pylint) PYTHON.ERROR.NIL
Notimplemented Raised (Pylint) PYTHON.ERROR.NR
Overridden Final Method (Pylint) PYTHON.WARNING.OFM
Parse Error (Pylint) PYTHON.FAILURE.PE
Pointless Exception Statement (Pylint) PYTHON.WARNING.PES
Pointless Statement (Pylint) PYTHON.WARNING.PS
Pointless String Statement (Pylint) PYTHON.WARNING.PSS
Positional Only Arguments Expected (Pylint) PYTHON.ERROR.POAE
Possibly Unused Variable (Pylint) PYTHON.WARNING.PUV
Potential Index Error (Pylint) PYTHON.ERROR.PIE
Preferred Module (Pylint) PYTHON.WARNING.PM
Property With Parameters (Pylint) PYTHON.REFACTOR.PWP
Protected Access (Pylint) PYTHON.WARNING.PA
Raise Missing From (Pylint) PYTHON.WARNING.RMF
Raising Bad Type (Pylint) PYTHON.ERROR.RBT
Raising Format Tuple (Pylint) PYTHON.WARNING.RFT
Raising Non Exception (Pylint) PYTHON.ERROR.RNE
Raw Checker Failed (Pylint) PYTHON.INFORMATIONAL.RCF
Redeclared Assigned Name (Pylint) PYTHON.WARNING.RAN
Redefined Argument From Local (Pylint) PYTHON.REFACTOR.RAFL
Redefined Builtin (Pylint) PYTHON.WARNING.RB
Redefined Outer Name (Pylint) PYTHON.WARNING.RON
Redefined Slots in Subclass (Pylint) PYTHON.WARNING.RSIS
Redundant Keyword Arg (Pylint) PYTHON.ERROR.RKA
Redundant U String Prefix (Pylint) PYTHON.WARNING.RUSP
Redundant Unittest Assert (Pylint) PYTHON.WARNING.RUA
Reimported (Pylint) PYTHON.WARNING.REIMPORTED
Relative Beyond Top Level (Pylint) PYTHON.ERROR.RBTL
Repeated Keyword (Pylint) PYTHON.ERROR.RK
Return Arg in Generator (Pylint) PYTHON.ERROR.RAIG
Return Outside Function (Pylint) PYTHON.ERROR.ROF
Return in Finally (Pylint) PYTHON.WARNING.RIF
Return in Init (Pylint) PYTHON.ERROR.RII
Self Assigning Variable (Pylint) PYTHON.WARNING.SAV
Self Cls Assignment (Pylint) PYTHON.WARNING.SCA
Shadowed Import (Pylint) PYTHON.WARNING.SI
Shallow Copy Environ (Pylint) PYTHON.WARNING.SCE
Signature Differs (Pylint) PYTHON.WARNING.SD
Simplifiable Condition (Pylint) PYTHON.REFACTOR.SC
Simplifiable If Expression (Pylint) PYTHON.REFACTOR.SIE
Simplifiable If Statement (Pylint) PYTHON.REFACTOR.SIS
Simplify Boolean Expression (Pylint) PYTHON.REFACTOR.SBE
Single String Used for Slots (Pylint) PYTHON.CONVENTION.SSUFS
Singledispatch Method (Pylint) PYTHON.ERROR.SM
Singledispatchmethod Function (Pylint) PYTHON.ERROR.SF
Singleton Comparison (Pylint) PYTHON.CONVENTION.SC
Star Needs Assignment Target (Pylint) PYTHON.ERROR.SNAT
Stop Iteration Return (Pylint) PYTHON.REFACTOR.SIR
Subclassed Final Class (Pylint) PYTHON.WARNING.SFC
Subprocess Popen Preexec Fn (Pylint) PYTHON.WARNING.SPPF
Subprocess Run Check (Pylint) PYTHON.WARNING.SRC
Super Init Not Called (Pylint) PYTHON.WARNING.SINC
Super With Arguments (Pylint) PYTHON.REFACTOR.SWA
Super Without Brackets (Pylint) PYTHON.WARNING.SWB
Superfluous Parens (Pylint) PYTHON.CONVENTION.SP
Suppressed Message (Pylint) PYTHON.INFORMATIONAL.SM
Syntax Error (Pylint) PYTHON.ERROR.SE
Too Few Format Args (Pylint) PYTHON.ERROR.TFFA
Too Few Public Methods (Pylint) PYTHON.REFACTOR.TFPM
Too Many Ancestors (Pylint) PYTHON.REFACTOR.TMANC
Too Many Arguments (Pylint) PYTHON.REFACTOR.TMARG
Too Many Boolean Expressions (Pylint) PYTHON.REFACTOR.TMBE
Too Many Branches (Pylint) PYTHON.REFACTOR.TMB
Too Many Format Args (Pylint) PYTHON.ERROR.TMFARG
Too Many Function Args (Pylint) PYTHON.ERROR.TMFUNA
Too Many Instance Attributes (Pylint) PYTHON.REFACTOR.TMIA
Too Many Lines (Pylint) PYTHON.CONVENTION.TML
Too Many Locals (Pylint) PYTHON.REFACTOR.TML
Too Many Nested Blocks (Pylint) PYTHON.REFACTOR.TMNB
Too Many Public Methods (Pylint) PYTHON.REFACTOR.TMPM
Too Many Return Statements (Pylint) PYTHON.REFACTOR.TMRS
Too Many Star Expressions (Pylint) PYTHON.ERROR.TMSE
Too Many Statements (Pylint) PYTHON.REFACTOR.TMS
Trailing Comma Tuple (Pylint) PYTHON.REFACTOR.TCT
Trailing Newlines (Pylint) PYTHON.CONVENTION.TN
Trailing Whitespace (Pylint) PYTHON.CONVENTION.TW
Truncated Format String (Pylint) PYTHON.ERROR.TFS
Try Except Raise (Pylint) PYTHON.WARNING.TER
Typevar Double Variance (Pylint) PYTHON.CONVENTION.TDV
Typevar Name Incorrect Variance (Pylint) PYTHON.CONVENTION.TNIV
Typevar Name Mismatch (Pylint) PYTHON.CONVENTION.TNM
Unbalanced Dict Unpacking (Pylint) PYTHON.WARNING.UDU
Unbalanced Tuple Unpacking (Pylint) PYTHON.WARNING.UTU
Undefined All Variable (Pylint) PYTHON.ERROR.UAV
Undefined Loop Variable (Pylint) PYTHON.WARNING.ULV
Undefined Variable (Pylint) PYTHON.ERROR.UV
Unexpected Keyword Arg (Pylint) PYTHON.ERROR.UKA
Unexpected Line Ending Format (Pylint) PYTHON.CONVENTION.ULEF
Unexpected Special Method Signature (Pylint) PYTHON.ERROR.USMS
Ungrouped Imports (Pylint) PYTHON.CONVENTION.UI
Unhashable Member (Pylint) PYTHON.ERROR.UM
Unidiomatic Typecheck (Pylint) PYTHON.CONVENTION.UT
Unknown Option Value (Pylint) PYTHON.WARNING.UOV
Unnecessary Comprehension (Pylint) PYTHON.REFACTOR.UC
Unnecessary Dict Index Lookup (Pylint) PYTHON.REFACTOR.UDIL
Unnecessary Direct Lambda Call (Pylint) PYTHON.CONVENTION.UDLC
Unnecessary Dunder Call (Pylint) PYTHON.CONVENTION.UDC
Unnecessary Ellipsis (Pylint) PYTHON.WARNING.UELL
Unnecessary Lambda (Pylint) PYTHON.WARNING.UL
Unnecessary Lambda Assignment (Pylint) PYTHON.CONVENTION.ULA
Unnecessary List Index Lookup (Pylint) PYTHON.REFACTOR.ULIL
Unnecessary Negation (Pylint) PYTHON.CONVENTION.UN
Unnecessary Pass (Pylint) PYTHON.WARNING.UP
Unnecessary Semicolon (Pylint) PYTHON.WARNING.US
Unpacking Non Sequence (Pylint) PYTHON.ERROR.UNS
Unreachable (Pylint) PYTHON.WARNING.UNREACHABLE
Unrecognized Inline Option (Pylint) PYTHON.ERROR.UIO
Unrecognized Option (Pylint) PYTHON.ERROR.UOPT
Unspecified Encoding (Pylint) PYTHON.WARNING.UENC
Unsubscriptable Object (Pylint) PYTHON.ERROR.UOBJ
Unsupported Assignment Operation (Pylint) PYTHON.ERROR.UAO
Unsupported Binary Operation (Pylint) PYTHON.ERROR.UBO
Unsupported Delete Operation (Pylint) PYTHON.ERROR.UDO
Unsupported Membership Test (Pylint) PYTHON.ERROR.UMT
Unused Argument (Pylint) PYTHON.WARNING.UA
Unused Format String Argument (Pylint) PYTHON.WARNING.UFSA
Unused Format String Key (Pylint) PYTHON.WARNING.UFSK
Unused Import (Pylint) PYTHON.WARNING.UI
Unused Private Member (Pylint) PYTHON.WARNING.UPM
Unused Variable (Pylint) PYTHON.WARNING.UV
Unused Wildcard Import (Pylint) PYTHON.WARNING.UWI
Use Dict Literal (Pylint) PYTHON.REFACTOR.UDL
Use Implicit Booleaness Not Comparison (Pylint) PYTHON.CONVENTION.UIBNC
Use Implicit Booleaness Not Comparison to String (Pylint) PYTHON.CONVENTION.UIBNCTS
Use Implicit Booleaness Not Comparison to Zero (Pylint) PYTHON.CONVENTION.UIBNCTZ
Use Implicit Booleaness Not Len (Pylint) PYTHON.CONVENTION.UIBNL
Use List Literal (Pylint) PYTHON.REFACTOR.ULL
Use Maxsplit Arg (Pylint) PYTHON.CONVENTION.UMA
Use Sequence for Iteration (Pylint) PYTHON.CONVENTION.USFI
Use Symbolic Message Instead (Pylint) PYTHON.INFORMATIONAL.USMI
Use a Generator (Pylint) PYTHON.REFACTOR.UAG
Used Before Assignment (Pylint) PYTHON.ERROR.UBA
Used Prior Global Declaration (Pylint) PYTHON.ERROR.UPGD
Useless Else on Loop (Pylint) PYTHON.WARNING.UEOL
Useless Import Alias (Pylint) PYTHON.CONVENTION.UIA
Useless Object Inheritance (Pylint) PYTHON.REFACTOR.UOI
Useless Option Value (Pylint) PYTHON.REFACTOR.UOV
Useless Parent Delegation (Pylint) PYTHON.WARNING.UPD
Useless Return (Pylint) PYTHON.REFACTOR.UR
Useless Suppression (Pylint) PYTHON.INFORMATIONAL.US
Useless With Lock (Pylint) PYTHON.WARNING.UWL
Using Constant Test (Pylint) PYTHON.WARNING.UCT
Using F String in Unsupported Version (Pylint) PYTHON.WARNING.UFSIUV
Using Final Decorator in Unsupported Version (Pylint) PYTHON.WARNING.UFDIUV
Wildcard Import (Pylint) PYTHON.WARNING.WI
Wrong Exception Operation (Pylint) PYTHON.WARNING.WEO
Wrong Import Order (Pylint) PYTHON.CONVENTION.WIO
Wrong Import Position (Pylint) PYTHON.CONVENTION.WIP
Wrong Spelling in Comment (Pylint) PYTHON.CONVENTION.WSIC
Wrong Spelling in Docstring (Pylint) PYTHON.CONVENTION.WSID
Yield Inside Async Function (Pylint) PYTHON.ERROR.YIAF
Yield Outside Function (Pylint) PYTHON.ERROR.YOF

Enabling and Disabling

You have multiple degrees of control over reporting for the warnings issued by Pylint.

 

To report problems with this documentation, please visit https://support.codesecure.com/.