Repository Analysis

pylint-dev/pylint

It's not just a linter that annoys you!

20.9 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pylint-dev/pylint, a Python project with 5,699 GitHub stars. SynthScan v2.0 examined 136,848 lines of code across 3282 source files, recording 2637 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 20.9 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

20.9
Adjusted Score
20.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.7K
Stars
Python
Language
136.8K
Lines of Code
3.3K
Files
2.6K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 48MEDIUM 79LOW 2510

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2637 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1165 hits · 1120 pts
SeverityFileLineSnippetContext
LOWpylint/graph.py20def target_info_from_filename(filename: str) -> tuple[str, str, str]:CODE
LOWpylint/__pkginfo__.py15def get_numversion_from_version(v: str) -> tuple[int, int, int]:CODE
LOWpylint/lint/report_functions.py15def report_total_messages_stats(CODE
LOWpylint/lint/report_functions.py46def report_messages_by_module_stats(CODE
LOWpylint/lint/pylinter.py405 def load_plugin_configuration(self) -> None:CODE
LOWpylint/lint/pylinter.py567 def pass_fail_on_config_to_color_reporter(self) -> None:CODE
LOWpylint/lint/pylinter.py898 def _get_file_descr_from_stdin(self, filepath: str) -> Iterator[FileItem]:CODE
LOWpylint/lint/message_state_handler.py169 def _register_by_id_managed_msg(CODE
LOWpylint/lint/parallel.py61def _worker_check_single_file(CODE
LOWpylint/checkers/dataclass_checker.py26def _check_name_or_attrname_eq_to(CODE
LOWpylint/checkers/dataclass_checker.py58 def _check_invalid_field_call(self, node: nodes.Call) -> None:CODE
LOWpylint/checkers/dataclass_checker.py104 def _check_invalid_field_call_within_call(CODE
LOWpylint/checkers/logging.py294 def _is_node_explicit_str_concatenation(node: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/logging.py407def str_formatting_in_f_string(node: nodes.JoinedStr) -> bool:CODE
LOWpylint/checkers/spelling.py66def _get_enchant_dict_choices(CODE
LOWpylint/checkers/spelling.py191def _strip_code_flanked_in_backticks(line: str) -> str:STRING
LOWpylint/checkers/spelling.py198 def replace_code_but_leave_surrounding_characters(match_obj: re.Match[str]) -> str:STRING
LOWpylint/checkers/misc.py36 def _clear_by_id_managed_msgs(self) -> None:CODE
LOWpylint/checkers/dunder_methods.py54 def within_dunder_or_lambda_def(node: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/typecheck.py551def _get_all_attribute_assignments(CODE
LOWpylint/checkers/typecheck.py711def _no_context_variadic_keywords(node: nodes.Call, scope: nodes.Lambda) -> bool:CODE
LOWpylint/checkers/typecheck.py728def _no_context_variadic_positional(node: nodes.Call, scope: nodes.Lambda) -> bool:CODE
LOWpylint/checkers/typecheck.py794def _infer_from_metaclass_constructor(CODE
LOWpylint/checkers/typecheck.py843def _is_invalid_isinstance_type(arg: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/typecheck.py1035 def _compiled_generated_members(self) -> tuple[Pattern[str], ...]:CODE
LOWpylint/checkers/typecheck.py1288 def _check_assignment_from_function_call(self, node: nodes.Assign) -> None:CODE
LOWpylint/checkers/typecheck.py1361 def _check_dundername_is_string(self, node: nodes.Assign) -> None:CODE
LOWpylint/checkers/typecheck.py1728 def _keyword_argument_is_in_all_decorator_returns(CODE
LOWpylint/checkers/typecheck.py1772 def _check_invalid_sequence_index(self, subscript: nodes.Subscript) -> None:CODE
LOWpylint/checkers/typecheck.py1872 def _check_invalid_slice_index(self, node: nodes.Slice) -> None:CODE
LOWpylint/checkers/typecheck.py2047 def _detect_unsupported_alternative_union_syntax(self, node: nodes.BinOp) -> None:CODE
LOWpylint/checkers/typecheck.py2089 def _includes_version_compatible_overload(self, attrs: list[nodes.NodeNG]) -> bool:CODE
LOWpylint/checkers/typecheck.py2105 def _recursive_search_for_classdef_type(CODE
LOWpylint/checkers/typecheck.py2118 def _check_unsupported_alternative_union_syntax(self, node: nodes.BinOp) -> None:CODE
LOWpylint/checkers/typecheck.py2306 def _check_await_outside_coroutine(self, node: nodes.Await) -> None:CODE
LOWpylint/checkers/modified_iterating_checker.py62 def _modified_iterating_check_on_node_and_children(CODE
LOWpylint/checkers/modified_iterating_checker.py70 def _modified_iterating_check(CODE
LOWpylint/checkers/modified_iterating_checker.py101 def _is_node_expr_that_calls_attribute_name(node: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/modified_iterating_checker.py123 def _is_node_assigns_subscript_name(node: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/modified_iterating_checker.py129 def _modified_iterating_list_cond(CODE
LOWpylint/checkers/modified_iterating_checker.py142 def _modified_iterating_dict_cond(CODE
LOWpylint/checkers/modified_iterating_checker.py167 def _modified_iterating_set_cond(CODE
LOWpylint/checkers/modified_iterating_checker.py180 def _deleted_iteration_target_cond(CODE
LOWpylint/checkers/variables.py2556 def _is_first_level_self_reference(CODE
LOWpylint/checkers/variables.py3023 def _should_ignore_redefined_builtin(self, stmt: nodes.NodeNG) -> bool:CODE
LOWpylint/checkers/variables.py3028 def _allowed_redefined_builtin(self, name: str) -> bool:CODE
LOWpylint/checkers/variables.py3032 def _comprehension_between_frame_and_node(node: nodes.Name) -> bool:CODE
LOWpylint/checkers/variables.py111def _get_unpacking_extra_info(node: nodes.Assign, inferred: InferenceResult) -> str:CODE
LOWpylint/checkers/variables.py347def _has_locals_call_after_node(stmt: nodes.NodeNG, scope: nodes.FunctionDef) -> bool:CODE
LOWpylint/checkers/variables.py1119 def _recursive_search_for_continue_before_break(CODE
LOWpylint/checkers/variables.py1140 def _uncertain_nodes_in_try_blocks_when_evaluating_except_blocks(CODE
LOWpylint/checkers/variables.py1189 def _uncertain_nodes_in_try_blocks_when_evaluating_finally_blocks(CODE
LOWpylint/checkers/variables.py1738 def _undefined_and_used_before_checker(CODE
LOWpylint/checkers/variables.py2048 def _report_unfound_name_definition(CODE
LOWpylint/checkers/variables.py2097 def _filter_type_checking_definitions_from_consumption(CODE
LOWpylint/checkers/variables.py2229 def _allow_global_unused_variables(self) -> bool:CODE
LOWpylint/checkers/variables.py2233 def _defined_in_function_definition(CODE
LOWpylint/checkers/variables.py2251 def _in_lambda_or_comprehension_body(CODE
LOWpylint/checkers/variables.py2437 def _maybe_used_and_assigned_at_once(defstmt: _base_nodes.Statement) -> bool:CODE
LOWpylint/checkers/variables.py2480 def _has_nonlocal_in_enclosing_frame(CODE
1105 more matches not shown…
Unused Imports892 hits · 865 pts
SeverityFileLineSnippetContext
LOWpylint/interfaces.py5CODE
LOWpylint/graph.py10CODE
LOWpylint/constants.py5CODE
LOWpylint/__init__.py5CODE
LOWpylint/__pkginfo__.py10CODE
LOWpylint/typing.py7CODE
LOWpylint/typing.py23CODE
LOWpylint/typing.py26CODE
LOWpylint/typing.py28CODE
LOWpylint/lint/report_functions.py5CODE
LOWpylint/lint/run.py5CODE
LOWpylint/lint/run.py214CODE
LOWpylint/lint/pylinter.py5CODE
LOWpylint/lint/__init__.py20CODE
LOWpylint/lint/__init__.py21CODE
LOWpylint/lint/__init__.py21CODE
LOWpylint/lint/__init__.py22CODE
LOWpylint/lint/__init__.py23CODE
LOWpylint/lint/__init__.py24CODE
LOWpylint/lint/__init__.py25CODE
LOWpylint/lint/__init__.py25CODE
LOWpylint/lint/__init__.py25CODE
LOWpylint/lint/__init__.py31CODE
LOWpylint/lint/__init__.py31CODE
LOWpylint/lint/message_state_handler.py5CODE
LOWpylint/lint/expand_modules.py5CODE
LOWpylint/lint/caching.py5CODE
LOWpylint/lint/base_options.py7CODE
LOWpylint/lint/utils.py5CODE
LOWpylint/lint/parallel.py5CODE
LOWpylint/checkers/dataclass_checker.py7CODE
LOWpylint/checkers/logging.py7CODE
LOWpylint/checkers/spelling.py7CODE
LOWpylint/checkers/misc.py7CODE
LOWpylint/checkers/async_checker.py7CODE
LOWpylint/checkers/dunder_methods.py5CODE
LOWpylint/checkers/symilar.py30CODE
LOWpylint/checkers/typecheck.py7CODE
LOWpylint/checkers/unicode.py14CODE
LOWpylint/checkers/modified_iterating_checker.py5CODE
LOWpylint/checkers/lambda_expressions.py5CODE
LOWpylint/checkers/variables.py7CODE
LOWpylint/checkers/unsupported_version.py9CODE
LOWpylint/checkers/ellipsis_checker.py7CODE
LOWpylint/checkers/clear_lru_cache.py5CODE
LOWpylint/checkers/deprecated.py7CODE
LOWpylint/checkers/non_ascii_names.py13CODE
LOWpylint/checkers/base_checker.py5CODE
LOWpylint/checkers/__init__.py43CODE
LOWpylint/checkers/__init__.py47CODE
LOWpylint/checkers/__init__.py47CODE
LOWpylint/checkers/__init__.py47CODE
LOWpylint/checkers/__init__.py52CODE
LOWpylint/checkers/format.py14CODE
LOWpylint/checkers/imports.py7CODE
LOWpylint/checkers/method_args.py7CODE
LOWpylint/checkers/match_statements_checker.py7CODE
LOWpylint/checkers/utils.py7CODE
LOWpylint/checkers/utils.py34CODE
LOWpylint/checkers/threading_checker.py5CODE
832 more matches not shown…
Cross-File Repetition40 hits · 200 pts
SeverityFileLineSnippetContext
HIGHpylint/pyreverse/plantuml_printer.py0create a new node. nodes can be classes, packages, participants etc.STRING
HIGHpylint/pyreverse/mermaidjs_printer.py0create a new node. nodes can be classes, packages, participants etc.STRING
HIGHpylint/pyreverse/printer.py0create a new node. nodes can be classes, packages, participants etc.STRING
HIGHpylint/pyreverse/dot_printer.py0create a new node. nodes can be classes, packages, participants etc.STRING
HIGHpylint/pyreverse/plantuml_printer.py0create an edge from one node to another to display relationships.STRING
HIGHpylint/pyreverse/mermaidjs_printer.py0create an edge from one node to another to display relationships.STRING
HIGHpylint/pyreverse/printer.py0create an edge from one node to another to display relationships.STRING
HIGHpylint/pyreverse/dot_printer.py0create an edge from one node to another to display relationships.STRING
HIGHtests/lint/unittest_lint.py0create a temp directory and change the current location to it. this is supposed to be used with a *with* statement.STRING
HIGHtests/config/test_find_default_config_files.py0create a temp directory and change the current location to it. this is supposed to be used with a *with* statement.STRING
HIGHtests/testutils/test_functional_testutils.py0create a temp directory and change the current location to it. this is supposed to be used with a *with* statement.STRING
HIGH…onal/ext/docparams/return/missing_return_doc_Google.py0test_ignores_return_in_abstract_method_numpy example of an abstract method documenting the return type that an implementSTRING
HIGH…onal/ext/docparams/return/missing_return_doc_Sphinx.py0test_ignores_return_in_abstract_method_numpy example of an abstract method documenting the return type that an implementSTRING
HIGH…ional/ext/docparams/return/missing_return_doc_Numpy.py0test_ignores_return_in_abstract_method_numpy example of an abstract method documenting the return type that an implementSTRING
HIGH…er/missing_param_doc_required_no_doc_rgx_check_init.py0tests for missing-param-doc and missing-type-doc for non-specified style docstrings with accept-no-param-doc = no and noSTRING
HIGH…ams/parameter/missing_param_doc_required_min_length.py0tests for missing-param-doc and missing-type-doc for non-specified style docstrings with accept-no-param-doc = no and noSTRING
HIGH…/ext/docparams/parameter/missing_param_doc_required.py0tests for missing-param-doc and missing-type-doc for non-specified style docstrings with accept-no-param-doc = no and noSTRING
HIGH…eter/missing_param_doc_required_no_doc_rgx_test_all.py0tests for missing-param-doc and missing-type-doc for non-specified style docstrings with accept-no-param-doc = no and noSTRING
HIGH…er/missing_param_doc_required_no_doc_rgx_check_none.py0tests for missing-param-doc and missing-type-doc for non-specified style docstrings with accept-no-param-doc = no and noSTRING
HIGHtests/functional/r/return_outside_function.py0this is grammatically correct, but it's still a syntaxerrorSTRING
HIGHtests/functional/y/yield_outside_func.py0this is grammatically correct, but it's still a syntaxerrorSTRING
HIGHtests/functional/y/yield_from_outside_func.py0this is grammatically correct, but it's still a syntaxerrorSTRING
HIGH…se/use_implicit_booleaness_not_comparison_to_string.py0cases where a comparison like `x != []` is used in a boolean context. it is safe and idiomatic to simplify `x != []` to STRING
HIGH…/use/use_implicit_booleaness_not_comparison_to_zero.py0cases where a comparison like `x != []` is used in a boolean context. it is safe and idiomatic to simplify `x != []` to STRING
HIGH…tional/u/use/use_implicit_booleaness_not_comparison.py0cases where a comparison like `x != []` is used in a boolean context. it is safe and idiomatic to simplify `x != []` to STRING
HIGH…se/use_implicit_booleaness_not_comparison_to_string.py0cases where a comparison like `x != []` is used in a non-boolean context. these comparisons cannot be safely replaced wiSTRING
HIGH…/use/use_implicit_booleaness_not_comparison_to_zero.py0cases where a comparison like `x != []` is used in a non-boolean context. these comparisons cannot be safely replaced wiSTRING
HIGH…tional/u/use/use_implicit_booleaness_not_comparison.py0cases where a comparison like `x != []` is used in a non-boolean context. these comparisons cannot be safely replaced wiSTRING
HIGHdoc/data/messages/m/missing-return-doc/good.py0returns sum of two integers :param a: first integer :param b: second integer :return: sum of parameters a and bSTRING
HIGHdoc/data/messages/m/missing-return-type-doc/good.py0returns sum of two integers :param a: first integer :param b: second integer :return: sum of parameters a and bSTRING
HIGHdoc/data/messages/m/missing-return-type-doc/bad.py0returns sum of two integers :param a: first integer :param b: second integer :return: sum of parameters a and bSTRING
HIGHdoc/data/messages/m/missing-return-doc/bad.py0returns sum of two integers :param a: first integer :param b: second integerSTRING
HIGHdoc/data/messages/m/missing-raises-doc/bad.py0returns sum of two integers :param a: first integer :param b: second integerSTRING
HIGHdoc/data/messages/m/missing-type-doc/good.py0returns sum of two integers :param a: first integer :param b: second integerSTRING
HIGHdoc/data/messages/m/missing-type-doc/bad.py0returns sum of two integers :param a: first integer :param b: second integerSTRING
HIGHdoc/data/messages/m/missing-param-doc/good.py0returns sum of two integers :param a: first integer :param b: second integerSTRING
HIGHdoc/data/messages/m/missing-yield-type-doc/good.py0prints even numbers smaller than n. args: n: upper limit of even numbers.STRING
HIGHdoc/data/messages/m/missing-yield-type-doc/bad.py0prints even numbers smaller than n. args: n: upper limit of even numbers.STRING
HIGHdoc/data/messages/m/missing-yield-doc/good.py0prints even numbers smaller than n. args: n: upper limit of even numbers.STRING
HIGHdoc/data/messages/m/missing-yield-doc/bad.py0prints even numbers smaller than n. args: n: upper limit of even numbers.STRING
Deep Nesting160 hits · 138 pts
SeverityFileLineSnippetContext
LOWpylint/__pkginfo__.py15CODE
LOWpylint/lint/run.py135CODE
LOWpylint/lint/pylinter.py533CODE
LOWpylint/lint/pylinter.py567CODE
LOWpylint/lint/pylinter.py663CODE
LOWpylint/lint/message_state_handler.py343CODE
LOWpylint/lint/expand_modules.py71CODE
LOWpylint/checkers/logging.py322CODE
LOWpylint/checkers/spelling.py339CODE
LOWpylint/checkers/misc.py150CODE
LOWpylint/checkers/async_checker.py57CODE
LOWpylint/checkers/symilar.py566CODE
LOWpylint/checkers/typecheck.py1105CODE
LOWpylint/checkers/typecheck.py1507CODE
LOWpylint/checkers/typecheck.py1941CODE
LOWpylint/checkers/typecheck.py2047CODE
LOWpylint/checkers/unicode.py249CODE
LOWpylint/checkers/modified_iterating_checker.py70CODE
LOWpylint/checkers/variables.py223CODE
LOWpylint/checkers/variables.py269CODE
LOWpylint/checkers/variables.py869CODE
LOWpylint/checkers/variables.py950CODE
LOWpylint/checkers/variables.py1044CODE
LOWpylint/checkers/variables.py1838CODE
LOWpylint/checkers/variables.py2281CODE
LOWpylint/checkers/variables.py2646CODE
LOWpylint/checkers/variables.py2795CODE
LOWpylint/checkers/variables.py3200CODE
LOWpylint/checkers/variables.py3241CODE
LOWpylint/checkers/variables.py3320CODE
LOWpylint/checkers/variables.py3425CODE
LOWpylint/checkers/format.py288CODE
LOWpylint/checkers/imports.py87CODE
LOWpylint/checkers/utils.py305CODE
LOWpylint/checkers/utils.py353CODE
LOWpylint/checkers/utils.py518CODE
LOWpylint/checkers/utils.py637CODE
LOWpylint/checkers/utils.py747CODE
LOWpylint/checkers/utils.py843CODE
LOWpylint/checkers/utils.py945CODE
LOWpylint/checkers/utils.py1110CODE
LOWpylint/checkers/utils.py1676CODE
LOWpylint/checkers/utils.py1875CODE
LOWpylint/checkers/utils.py1989CODE
LOWpylint/checkers/raw_metrics.py79CODE
LOWpylint/checkers/newstyle.py47CODE
LOWpylint/checkers/exceptions.py478CODE
LOWpylint/checkers/exceptions.py576CODE
LOWpylint/checkers/stdlib.py690CODE
LOWpylint/checkers/stdlib.py752CODE
LOWpylint/checkers/stdlib.py794CODE
LOWpylint/checkers/strings.py265CODE
LOWpylint/checkers/strings.py538CODE
LOWpylint/checkers/strings.py947CODE
LOWpylint/checkers/classes/class_checker.py396CODE
LOWpylint/checkers/classes/class_checker.py415CODE
LOWpylint/checkers/classes/class_checker.py1062CODE
LOWpylint/checkers/classes/class_checker.py1118CODE
LOWpylint/checkers/classes/class_checker.py1193CODE
LOWpylint/checkers/classes/class_checker.py1267CODE
100 more matches not shown…
Dead Code50 hits · 100 pts
SeverityFileLineSnippetContext
MEDIUM…s/functional/ext/docparams/raise/missing_raises_doc.py25CODE
MEDIUM…s/functional/ext/docparams/raise/missing_raises_doc.py42CODE
MEDIUM…tional/ext/docparams/raise/missing_raises_doc_Numpy.py20CODE
MEDIUM…tional/ext/docparams/raise/missing_raises_doc_Numpy.py34CODE
MEDIUM…tional/ext/docparams/raise/missing_raises_doc_Numpy.py158CODE
MEDIUM…tional/ext/docparams/raise/missing_raises_doc_Numpy.py182CODE
MEDIUM…tional/ext/docparams/raise/missing_raises_doc_Numpy.py215CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py13CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py36CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py37CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py38CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py48CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py97CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Sphinx.py110CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py13CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py83CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py94CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py95CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py96CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py158CODE
MEDIUM…ional/ext/docparams/raise/missing_raises_doc_Google.py180CODE
MEDIUM…onal/ext/docparams/return/missing_return_doc_Google.py95CODE
MEDIUM…onal/ext/docparams/return/missing_return_doc_Google.py112CODE
MEDIUM…docparams/return/missing_return_doc_required_Google.py57CODE
MEDIUM…docparams/return/missing_return_doc_required_Google.py74CODE
MEDIUM…docparams/return/missing_return_doc_required_Sphinx.py64CODE
MEDIUM…/docparams/return/missing_return_doc_required_Numpy.py59CODE
MEDIUM…/docparams/return/missing_return_doc_required_Numpy.py78CODE
MEDIUM…/docparams/return/missing_return_doc_required_Numpy.py97CODE
MEDIUM…cparams/parameter/missing_param_doc_required_Sphinx.py343CODE
MEDIUM…cparams/parameter/missing_param_doc_required_Sphinx.py382CODE
MEDIUMtests/functional/u/unreachable.py11CODE
MEDIUMtests/functional/u/unreachable.py26CODE
MEDIUMtests/functional/u/unreachable.py33CODE
MEDIUMtests/functional/u/unreachable.py38CODE
MEDIUMtests/functional/u/unreachable.py39CODE
MEDIUMtests/functional/u/unicode/unicode_bidi_early_return.py15CODE
MEDIUMtests/functional/u/unicode/unicode_bidi_early_return.py16CODE
MEDIUMtests/functional/u/unused/unused_private_member.py162CODE
MEDIUMtests/functional/b/bad_exception_cause.py14CODE
MEDIUMtests/functional/b/bad_exception_cause.py15CODE
MEDIUMtests/functional/b/bad_exception_cause.py16CODE
MEDIUMtests/functional/b/bad_exception_cause.py17CODE
MEDIUMtests/functional/b/bad_exception_cause.py18CODE
MEDIUMtests/functional/b/bad_exception_cause.py19CODE
MEDIUMtests/functional/b/bad_exception_cause.py20CODE
MEDIUMtests/functional/b/bad_exception_cause.py21CODE
MEDIUMtests/functional/b/bad_exception_cause.py22CODE
MEDIUMtests/functional/b/bad_exception_cause.py23CODE
MEDIUMdoc/data/messages/u/unreachable/bad.py3CODE
Excessive Try-Catch Wrapping79 hits · 96 pts
SeverityFileLineSnippetContext
LOWpylint/lint/pylinter.py810 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWpylint/lint/pylinter.py846 except Exception as e:CODE
LOWpylint/lint/pylinter.py889 except Exception as e: # pragma: no coverCODE
LOWpylint/lint/pylinter.py1056 except Exception as ex:CODE
LOWpylint/lint/pylinter.py1195 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWpylint/lint/caching.py52 except Exception: # pylint: disable=broad-exceptCODE
LOWpylint/lint/utils.py98 except Exception as exc: # pylint: disable=broad-exceptSTRING
LOWpylint/checkers/imports.py1084 except Exception as e: # pragma: no coverCODE
LOWpylint/checkers/utils.py1377 except Exception as e: # pragma: no coverCODE
LOWpylint/checkers/utils.py1413 except Exception as e: # pragma: no coverCODE
LOWpylint/checkers/utils.py1426 except Exception as e: # pragma: no coverCODE
LOWpylint/utils/ast_walker.py93 except Exception:CODE
LOWpylint/pyreverse/inspector.py44 except Exception: # pylint: disable=broad-exceptCODE
LOWpylint/reporters/json_reporter.py187 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWpylint/testutils/configuration_test.py112 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpylint/testutils/output_line.py97 except Exception: # pylint: disable=broad-exceptCODE
LOWpylint/testutils/checker_test_case.py54 except Exception:CODE
LOWtests/test_func.py73 except Exception as ex:CODE
LOWtests/checkers/unittest_utils.py243 except Exception:CODE
LOWtests/checkers/unittest_utils.py253 except Exception:CODE
LOWtests/checkers/unittest_utils.py266 except Exception:CODE
LOWtests/checkers/unittest_utils.py278 except Exception:CODE
LOWtests/checkers/unittest_utils.py69 except Exception: #@CODE
LOWtests/checkers/unittest_utils.py88 except Exception:CODE
LOW…/r/regression/regression_3416_unused_argument_raise.py13 except Exception:CODE
LOWtests/functional/u/unused/unused_private_member.py242 except Exception: # pylint: disable=broad-exceptCODE
LOWtests/functional/u/unused/unused_private_member.py261 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMtests/functional/u/unused/unused_private_member.py238def __init__(self):CODE
MEDIUMtests/functional/u/unused/unused_private_member.py258def __init__(self):CODE
LOWtests/functional/u/unused/unused_variable.py222 except Exception as e:CODE
LOWtests/functional/u/unused/unused_variable.py228 except Exception as e: # [unused-variable]CODE
MEDIUMtests/functional/u/unused/unused_variable.py119def func():CODE
LOWtests/functional/u/undefined/undefined_variable.py44except Exception: # pylint:disable = broad-exceptCODE
LOWtests/functional/u/undefined/undefined_variable.py167except Exception:CODE
LOW…sts/functional/u/used/used_before_assignment_typing.py39 except Exception as e: # pylint: disable=broad-exception-caughtCODE
LOWtests/functional/n/no/no_name_in_module.py55except Exception:CODE
LOWtests/functional/n/no/no_name_in_module.py72except Exception:CODE
LOWtests/functional/n/no/no_else_return.py188 except Exception:CODE
LOWtests/functional/n/no/no_member_if_statements.py49except Exception as err:CODE
MEDIUMtests/functional/n/no/no_member_if_statements.py53 print(f'An error occurred: {str(err)}')CODE
LOWtests/functional/n/no/no_member_if_statements.py76except Exception as ex:CODE
LOWtests/functional/t/try_except_raise.py115except Exception:CODE
LOWtests/functional/t/try_except_raise_crash.py25 except Exception:CODE
MEDIUMtests/functional/t/try_except_raise_crash.py20def test():CODE
LOWtests/functional/m/misplaced_bare_raise.py7except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py12except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py17except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py24 except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py28 except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py37 except Exception:CODE
LOWtests/functional/m/misplaced_bare_raise.py55 except Exception:CODE
MEDIUMtests/functional/m/misplaced_bare_raise.py21def test():CODE
MEDIUMtests/functional/m/misplaced_bare_raise.py25def chest():CODE
MEDIUMtests/functional/m/misplaced_bare_raise.py32def test1():CODE
LOWtests/functional/m/member/member_checks.py124 except Exception:CODE
LOW…nctional/c/contextmanager_generator_missing_cleanup.py166 except Exception:CODE
LOWtests/functional/c/continue_in_finally.py20 except Exception:CODE
LOWtests/functional/d/disabled_msgid_in_pylintrc.py5except Exception:CODE
LOWtests/functional/b/bad_except_order.py7except Exception:CODE
LOWtests/functional/b/bad_except_order.py30except Exception:CODE
19 more matches not shown…
Redundant / Tautological Comments52 hits · 78 pts
SeverityFileLineSnippetContext
LOWpylint/lint/message_state_handler.py286 # Check if the message's line is after the maximum line existing in ast tree.COMMENT
LOWpylint/checkers/async_checker.py63 # Check if we are dealing with a function decoratedCOMMENT
LOWpylint/checkers/async_checker.py68 # Check if we are dealing with a function decoratedCOMMENT
LOWpylint/checkers/typecheck.py500 # Verify if we are dealing with an invalid Super object.COMMENT
LOWpylint/checkers/typecheck.py1764 # Check if the keyword is another type of argumentCOMMENT
LOWpylint/checkers/typecheck.py1793 # Check if this instance's __getitem__, __setitem__, or __delitem__, asCOMMENT
LOWpylint/checkers/typecheck.py1948 # Check if we are dealing with a function decoratedCOMMENT
LOWpylint/checkers/typecheck.py1954 # Check if it's an AsyncGenerator decorated with asynccontextmanagerCOMMENT
LOWpylint/checkers/variables.py2566 # Check if used as type annotationCOMMENT
LOWpylint/checkers/variables.py2572 # Check if used as default value by calling the classCOMMENT
LOWpylint/checkers/variables.py2189 # Check if we have starred nodes.COMMENT
LOWpylint/checkers/variables.py2990 # Check if node is a cell varCOMMENT
LOWpylint/checkers/variables.py3378 # Check if the name is in fact loaded from aCOMMENT
LOWpylint/checkers/variables.py3537 # Check if parent's or grandparent's first child is typing.LiteralCOMMENT
LOWpylint/checkers/imports.py711 # Check if import comes after a non-import statementCOMMENT
LOWpylint/checkers/utils.py929 # Check if the import is of the form: `from typing import final`COMMENT
LOWpylint/checkers/utils.py932 # Check if the import is of the form: `import typing`COMMENT
LOWpylint/checkers/exceptions.py424 # Check if it is a tuple of exceptions.COMMENT
LOWpylint/checkers/stdlib.py767 # Check if there is a maxsize argument set to None in the callCOMMENT
LOWpylint/checkers/bad_chained_comparison.py38 # Check if comparison operators are in the same semantic groupCOMMENT
LOWpylint/checkers/classes/class_checker.py1229 # Check if any method attr is defined in is a defining methodCOMMENT
LOWpylint/checkers/classes/class_checker.py1659 # Check if we have a conflict with a class variable.COMMENT
LOWpylint/checkers/classes/class_checker.py1704 # Check if attribute call is in frame definition in class definitionCOMMENT
LOWpylint/checkers/classes/class_checker.py1852 # Check if the arg passed to classmethod is a class memberCOMMENT
LOWpylint/checkers/classes/class_checker.py1929 # Check if we are inside the scope of a class or nested inner classCOMMENT
LOWpylint/checkers/classes/class_checker.py2125 # Check if there is a decorator which is not named `staticmethod`COMMENT
LOWpylint/checkers/classes/class_checker.py2267 # Check if the init of the class that defines this init has alreadyCOMMENT
LOW…nt/checkers/refactoring/implicit_booleaness_checker.py274 # Set target_node to opposite side of literalCOMMENT
LOWpylint/checkers/refactoring/recommendation_checker.py112 # Check if call is split() or rsplit()COMMENT
LOWpylint/checkers/refactoring/recommendation_checker.py150 # Check if loop present within the scope of the nodeCOMMENT
LOWpylint/checkers/refactoring/recommendation_checker.py156 # Check if var is mutated within loop (Assign/AugAssign)COMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py616 # Check if both branches can be reduced.COMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py628 # Check if we assign to the same valueCOMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py2163 # Check if there are any for / while loops within the loop in question;COMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py2331 # Check if there are any for / while loops within the loop in question;COMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py2340 # Check if there are any if statements within the loop in question;COMMENT
LOWpylint/checkers/base/function_checker.py119 # Check if yield expression is last statementCOMMENT
LOWpylint/checkers/base/basic_error_checker.py628 # Check if we have forward references for this node.COMMENT
LOWpylint/config/arguments_manager.py378 # Check if it is default value if we are in minimal modeCOMMENT
LOWpylint/config/config_initialization.py97 # Check if there are any options that we do not recognizeCOMMENT
LOWpylint/extensions/code_style.py258 # Check if `node.test` contains a `Name` nodeCOMMENT
LOWpylint/extensions/code_style.py275 # Check if match statement would be a better fit.COMMENT
LOWpylint/extensions/redefined_variable_type.py61 # Check if there is a type in the following nodes that would beCOMMENT
LOWpylint/reporters/text.py131 # Set template to the currently selected templateCOMMENT
LOW…lint/testutils/functional/lint_module_output_update.py39 # Write file with expected outputCOMMENT
LOWtests/test_self.py1722 # Check if they are loadedCOMMENT
LOW…ts/functional/u/unicode/unicode_bidi_commenting_out.py11 if access_level != "none‮⁦": # Check if admin ⁩⁦' and access_level != 'userCODE
LOWtests/functional/t/too/too_many_function_args.py26# Check if respecting Python's actual runtime MRO when using metaclassesCOMMENT
LOWtests/functional/a/arguments.py338# Check if respecting Python's actual runtime MRO when using metaclassesCOMMENT
LOWexamples/pyproject.toml288# Add paths to the list of the source roots. Supports globbing patterns. TheCOMMENT
LOWdoc/test_messages_documentation.py90 # Check if this message has a custom configuration file (e.g. for enabling optional checkers).COMMENT
LOWdoc/exts/pylint_messages.py165 # Check if the placeholder file can even be presented by checking if its path existsSTRING
Over-Commented Block63 hits · 60 pts
SeverityFileLineSnippetContext
LOWpyproject.toml181]COMMENT
LOWpylint/checkers/typecheck.py1961 args=(inferred.parent.name,),COMMENT
LOWpylint/checkers/variables.py1901 # myattr = 1COMMENT
LOWpylint/checkers/variables.py2321 maybe_before_assign = not _is_nonlocal_name(node, defframe)COMMENT
LOWpylint/checkers/refactoring/refactoring_checker.py681 and token_string.startswith("#")COMMENT
LOWpylint/utils/file_state.py61 msg_state: dict[int, bool],COMMENT
LOWpylint/utils/file_state.py121 # 1. """Module docstring"""COMMENT
LOWtests/lint/__init__.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWtests/input/func_noerror_cycle/__init__.py1# https://github.com/pylint-dev/pylint/issues/3525COMMENT
LOWtests/message/__init__.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWtests/extensions/__init__.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWtests/regrtest_data/line_too_long_no_code.py1# ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJCOMMENT
LOW…functional/t/too/too_many_ancestors_ignored_parents.py1# pylint: disable=missing-docstring, too-few-public-methods, invalid-nameCOMMENT
LOWtests/functional/f/fixme.py1"""Tests for fixme and its disabling and enabling."""COMMENT
LOWtests/functional/f/fixme.py21 # TODO: Do something with the variablesCOMMENT
LOWtests/functional/d/docstrings.py21# +1: [missing-class-docstring]COMMENT
LOWtests/functional/e/.#emacs_file_lock_redefined_conf.py1# [invalid-name]COMMENT
LOWtests/functional/e/.#emacs_file_lock_by_conf.py1# The name is invalid, but we should not analyse this fileCOMMENT
LOWtests/functional/e/.#emacs_file_lock.py1# The name is invalid, but we should not analyse this fileCOMMENT
LOWtests/functional/b/bad_option_value.py1"""Check unknown or deleted option. """COMMENT
LOWtests/functional/b/bad_option_value.py21# disable-next with msgid moved to extensionCOMMENT
LOWtests/testutils/dummy_checker.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWscript/copyright.txt1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWscript/__init__.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWexamples/pyproject.toml1[tool.pylint]COMMENT
LOWexamples/pyproject.toml21 "deprecated-pragma",COMMENT
LOWexamples/pyproject.toml41# attr-rgx =COMMENT
LOWexamples/pyproject.toml61# Regular expression matching correct class names. Overrides class-naming-style.COMMENT
LOWexamples/pyproject.toml81# good-names-rgxs =COMMENT
LOWexamples/pyproject.toml101# name regexes allow several styles.COMMENT
LOWexamples/pyproject.toml121# type variable tuple names will be checked with the set naming style.COMMENT
LOWexamples/pyproject.toml141# exclude-too-few-public-methods =COMMENT
LOWexamples/pyproject.toml161design.max-returns = 6COMMENT
LOWexamples/pyproject.toml181format.max-module-lines = 1000COMMENT
LOWexamples/pyproject.toml201# Output a graph (.gv or any supported image format) of internal dependencies toCOMMENT
LOWexamples/pyproject.toml221# one or another interpreter, leading to false positives when analysed.COMMENT
LOWexamples/pyproject.toml241# fail-on =COMMENT
LOWexamples/pyproject.toml261# analysis). It supports qualified module names, as well as Unix patternCOMMENT
LOWexamples/pyproject.toml281# increase not-an-iterable messages.COMMENT
LOWexamples/pyproject.toml321# empty (resulting in expected fixes of the type: ``"- " + " - ".join(items)``)COMMENT
LOWexamples/pyproject.toml341# Comments are removed from the similarity computationCOMMENT
LOWexamples/pyproject.toml361# A path to a file that contains the private dictionary; one word per line.COMMENT
LOWexamples/pyproject.toml381# return multiple potential results while evaluating a Python object, but someCOMMENT
LOWexamples/pyproject.toml401# similar match for a missing member name.COMMENT
LOWexamples/pyproject.toml421# be used).COMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml61 # queries: ./path/to/local/query, your-org/your-repo/queries@mainCOMMENT
LOWdoc/conf.py1# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlCOMMENT
LOWdoc/conf.py121# The version info for the project you're documenting, acts as replacement forCOMMENT
LOWdoc/conf.py141exclude_patterns = ["_build", "data/**", "whatsnew/fragments"]COMMENT
LOWdoc/conf.py161# modindex_common_prefix = []COMMENT
LOWdoc/conf.py181# html_title = NoneCOMMENT
LOWdoc/conf.py201# using the given strftime format.COMMENT
LOWdoc/conf.py221# html_split_index = FalseCOMMENT
LOWdoc/conf.py261 )COMMENT
LOWdoc/exts/pylint_messages.py521 # Uncomment to allow running this script by your local python interpreterCOMMENT
LOW…ative-beyond-top-level/good/fix_the_relative_import.py1# Right number of dots in the import: you needed 15 dots, not 16, duh.COMMENT
LOWdoc/data/messages/u/unrecognized-inline-option/bad.py1# +1: [unrecognized-inline-option]COMMENT
LOWdoc/data/messages/s/suppressed-message/bad.py1### This is a contrived example, to show how suppressed-message works.COMMENT
LOWdoc/data/messages/f/file-ignored/bad.py1# pylint: skip-fileCOMMENT
3 more matches not shown…
Overly Generic Function Names33 hits · 40 pts
SeverityFileLineSnippetContext
LOWtests/regrtest_data/beyond_top_three/a.py6def do_something(var, some_other_var): # errorCODE
LOW…beyond_top_two/namespace_package/top_level_function.py4def do_something():CODE
LOWtests/functional/ext/check_elif/check_elif.py7def my_function():CODE
LOWtests/functional/r/regression_02/regression_4660.py18 def my_method(self, option: Literal["mandatory"]) -> Callable[..., Any]:CODE
LOWtests/functional/r/regression_02/regression_4660.py27 def my_method(self, option: Literal["mandatory"]) -> Callable[..., Any]:CODE
LOWtests/functional/r/regression_02/regression_4660.py31 def my_method(CODE
LOWtests/functional/r/regression_02/regression_4660.py36 def my_method(CODE
LOWtests/functional/u/unexpected_keyword_arg.py38def do_something(junk=None):CODE
LOW…ctional/u/unsupported/unsupported_version_for_final.py14 def my_method(self):CODE
LOW…ctional/u/unsupported/unsupported_version_for_final.py21 def my_method(self):CODE
LOW…ctional/u/unsupported/unsupported_version_for_final.py28 def my_method(self):CODE
LOW…ctional/u/unsupported/unsupported_version_for_final.py35 def my_method(self):CODE
LOWtests/functional/u/use/use_symbolic_message_instead.py4def my_function(arg): # [missing-function-docstring]CODE
LOW…tional/u/use/use_implicit_booleaness_not_comparison.py149def test_function():CODE
LOW…s/functional/u/undefined/undefined_variable_classes.py22 def my_method(self) -> MyType:CODE
LOWtests/functional/u/undefined/undefined_loop_variable.py6def do_stuff(some_random_list):CODE
LOW…/functional/u/unbalanced/unbalanced_tuple_unpacking.py11def do_stuff():CODE
LOW…/functional/u/unbalanced/unbalanced_tuple_unpacking.py151def my_function(mystring):CODE
LOW…onal/u/used/used_before_assignment_type_annotations.py85 def my_method(self) -> Coords:CODE
LOWtests/functional/t/too/too_many_nested_blocks.py5def my_function():CODE
LOW…ts/functional/t/type/typealias_naming_style_default.py36def my_function():CODE
LOW…nctional/a/assignment/assignment_from_no_return_py3.py33def do_stuff():CODE
LOWtests/functional/f/function_redefined.py127def do_something() -> int:CODE
LOWtests/functional/o/overridden_final_method_py38.py10 def my_method(self):CODE
LOWtests/functional/o/overridden_final_method_py38.py15 def my_method(self): # [overridden-final-method]CODE
LOWtests/functional/o/overridden_final_method_py38.py25 def my_method(self):CODE
LOWtests/functional/o/overridden_final_method_py38.py30 def my_method(self): # [overridden-final-method]CODE
LOWtests/functional/m/modified_iterating.py121 def my_method(self):CODE
LOWtests/functional/m/modified_iterating.py132 def my_method(self):CODE
LOWtests/functional/c/consider/consider_using_enumerate.py82def my_function(instance: MyClass):CODE
LOWtests/functional/d/deprecated/deprecated_decorators.py8 def my_method(cls):CODE
LOWdoc/data/messages/u/unnecessary-ellipsis/good.py1def my_function():CODE
LOWdoc/data/messages/u/unnecessary-ellipsis/bad.py1def my_function():CODE
Modern Structural Boilerplate32 hits · 32 pts
SeverityFileLineSnippetContext
LOWpylint/__init__.py7__all__ = [CODE
LOWpylint/lint/pylinter.py962 def set_current_module(self, modname: str, filepath: str | None = None) -> None:CODE
LOWpylint/lint/__init__.py33__all__ = [CODE
LOWpylint/checkers/__init__.py133__all__ = [CODE
LOWpylint/checkers/classes/class_checker.py751 def set_accessed(self, node: _AccessNodes) -> None:CODE
LOWpylint/checkers/refactoring/__init__.py21__all__ = [CODE
LOWpylint/checkers/base/__init__.py9__all__ = [CODE
LOWpylint/checkers/base/name_checker/__init__.py5__all__ = [CODE
LOWpylint/config/arguments_manager.py397 def set_option(self, optname: str, value: Any) -> None:CODE
LOWpylint/config/__init__.py7__all__ = ["find_default_config_files"]CODE
LOWpylint/config/utils.py155def _set_rcfile(run: Run, value: str | None) -> None:CODE
LOWpylint/config/utils.py161def _set_output(run: Run, value: str | None) -> None:CODE
LOWpylint/config/utils.py173def _set_verbose_mode(run: Run, value: str | None) -> None:CODE
LOWpylint/message/__init__.py12__all__ = [CODE
LOWpylint/utils/__init__.py29__all__ = [CODE
LOWpylint/extensions/__init__.py20__all__ = ["initialize"]CODE
LOWpylint/pyreverse/diadefslib.py84 def _set_default_options(self) -> None:CODE
LOWpylint/pyreverse/writer.py173 def set_printer(self, file_name: str, basename: str) -> None:CODE
LOWpylint/reporters/__init__.py27__all__ = [CODE
LOWpylint/reporters/text.py242 def set_fail_on_symbols(self, fail_on_symbols: list[str]) -> None:CODE
LOWpylint/testutils/__init__.py7__all__ = [CODE
LOWpylint/testutils/_primer/__init__.py5__all__ = ["PRIMER_DIRECTORY_PATH", "PackageToLint"]CODE
LOWpylint/testutils/functional/__init__.py5__all__ = [CODE
LOWtests/regrtest_data/package_all/__init__.py3__all__ = ['notmissing', 'missing']CODE
LOW…nal/u/unused/unused_variable_future_and_annotations.py7__all__ = [ "apple" ]CODE
LOW…al/i/invalid/invalid_all/invalid_all_format_valid_2.py2__all__ = ["CONST"]CODE
LOWtests/functional/n/names_in__all__.py14__all__ = [CODE
LOWtests/functional/n/not_callable.py154 def set_item(self, item: int) -> None:CODE
LOWdoc/data/messages/u/undefined-all-variable/good.py1__all__ = ["get_fruit_color"]CODE
LOWdoc/data/messages/u/undefined-all-variable/bad.py1__all__ = ["get_fruit_colour"] # [undefined-all-variable]CODE
LOWdoc/data/messages/i/invalid-all-object/good.py1__all__ = ["Fruit", "Worm"]CODE
LOWdoc/data/messages/t/too-many-lines/good/__init__.py1__all__ = ["is_palindrome", "main"]CODE
Self-Referential Comments12 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUMpylint/lint/pylinter.py1059 # Creating an issue template and adding the 'astroid-error' message is handledCOMMENT
MEDIUMpylint/checkers/refactoring/refactoring_checker.py919 # This function is written expecting a test condition of form:COMMENT
MEDIUMpylint/config/arguments_manager.py353 # Create a comment if the option has no valueCOMMENT
MEDIUMtests/test_check_parallel.py400 # Create a dummy file, the actual contents of which will be ignored by theCOMMENT
MEDIUMtests/test_check_parallel.py469 # Create a dummy file, the actual contents of which will be ignored by theCOMMENT
MEDIUMtests/test_check_parallel.py683 # Create a dummy file, the actual contents of which will be ignored by theCOMMENT
MEDIUMtests/pyreverse/test_diadefs.py445 # Create a tree with a single root node and multiple leaf nodesSTRING
MEDIUM.github/workflows/primer_run_main.yaml45 # Create a re-usable virtual environmentCOMMENT
MEDIUMdoc/conf.py14# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMdoc/exts/pylint_options.py130 # Create a comment if the option has no valueCOMMENT
MEDIUMdoc/data/messages/t/too-many-statements/bad.py7 # This function is a masterpiece of code that embodies the epitome of efficiencyCOMMENT
MEDIUM…/data/messages/t/too-many-positional-arguments/good.py2 """This function is 'Keyword only' for all args due to the '*'."""STRING
Fake / Example Data25 hits · 30 pts
SeverityFileLineSnippetContext
LOW…functional/i/implicit/implicit_str_concat_multiline.py10 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py10 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py17 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py17 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py25 "Lorem ipsum dolor sit amet, ""consectetur adipiscing elit," # [implicit-str-concat]CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py25 "Lorem ipsum dolor sit amet, ""consectetur adipiscing elit," # [implicit-str-concat]CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py26 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py26 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py35 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py35 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit," # [implicit-str-concat]CODE
LOW…functional/i/implicit/implicit_str_concat_multiline.py44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit," # [implicit-str-concat]CODE
LOWtests/functional/i/implicit/implicit_str_concat.py13print("Lorem ipsum " "dolor sit amet") # [implicit-str-concat]CODE
LOWtests/functional/i/implicit/implicit_str_concat.py13print("Lorem ipsum " "dolor sit amet") # [implicit-str-concat]CODE
LOWtests/functional/i/implicit/implicit_str_concat.py36 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOWtests/functional/i/implicit/implicit_str_concat.py36 "Lorem ipsum dolor sit amet, consectetur adipiscing elit,"CODE
LOWtests/functional/f/fixme_bad_formatting_1139.py6# TODO Lorem ipsum dolor sit amet consectetur adipiscing elit # [fixme]COMMENT
LOWtests/functional/f/fixme_bad_formatting_1139.py6# TODO Lorem ipsum dolor sit amet consectetur adipiscing elit # [fixme]COMMENT
LOWtests/functional/f/fixme_bad_formatting_1139.txt1fixme:6:1:None:None::TODO Lorem ipsum dolor sit amet consectetur adipiscing elit # [fixme]:UNDEFINEDCODE
LOWtests/functional/f/fixme_bad_formatting_1139.txt1fixme:6:1:None:None::TODO Lorem ipsum dolor sit amet consectetur adipiscing elit # [fixme]:UNDEFINEDCODE
LOWdoc/exts/pylint_messages.py173 placeholder_good = "placeholder" in f.read()STRING
LOWdoc/data/messages/d/docstring-first-line-empty/good.py2 """Lorem Ipsum is simply dummy text of the printing and typesettingSTRING
LOWdoc/data/messages/d/docstring-first-line-empty/good.py5 Lorem Ipsum has been the industry's standard dummy text ever since theSTRING
LOWdoc/data/messages/d/docstring-first-line-empty/bad.py3 Lorem Ipsum is simply dummy text of the printing and typesettingSTRING
LOWdoc/data/messages/d/docstring-first-line-empty/bad.py6 Lorem Ipsum has been the industry's standard dummy text ever since theSTRING
Cross-Language Confusion5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHpylint/checkers/variables.py740 # ``Const`` carries whose truthiness is undefined, so treat itSTRING
HIGH…s/functional/u/used/used_before_assignment_nonlocal.py33def test_fail4(*args: test_fail5, **kwargs: undefined):CODE
HIGHtests/functional/g/globals.py33 global SOMEVAR # [global-variable-undefined]CODE
HIGHtests/functional/m/match_class_pattern.py54 # If class name is undefined, we can't get __match_args__COMMENT
HIGHdoc/data/messages/g/global-variable-undefined/bad.py2 global TOMATO # [global-variable-undefined]CODE
AI Slop Vocabulary9 hits · 16 pts
SeverityFileLineSnippetContext
LOWpylint/lint/run.py245 # So we use self.linter.msg_status if that is non-zero, otherwise we just return 1.COMMENT
LOWpylint/lint/run.py252 # So we use self.linter.msg_status if that is non-zero, otherwise we just return 1.COMMENT
LOWpylint/checkers/typecheck.py1531 # make sense of the function call in this case, so just return.COMMENT
LOWpylint/checkers/unicode.py401 # If we can't decode properly, we simply use bytes, even so the column offsetsSTRING
LOWpylint/checkers/utils.py627 # while on CPython it will simply return the fields,COMMENT
MEDIUMtests/test_self.py794 # Essentially same test cases as --fail-under, but run with/without a detectedCOMMENT
MEDIUMtests/test_check_parallel.py319 """The linter needs to be pickle-able in order to be passed between workers."""STRING
MEDIUM…l/ext/code_style/cs_consider_using_augmented_assign.py15# We don't warn on intricate expressions as we lack knowledge of simplifying suchCOMMENT
MEDIUMtests/functional/t/type/typevar_name_mismatch.py22# (that's already handled by the aforementioned rules),COMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpylint/checkers/unicode.py280Try to extract the codec (unicode only) by checking for the BOM. For details about BOM see https://unicode.org/faq/STRING
HIGHpylint/checkers/unicode.py421Determine the codec from the given stream. first tries https://www.python.org/dev/peps/pep-0263/ and ifSTRING
HIGHpylint/checkers/strings.py1085Returns the quote character used to delimit this token string. This function checks whether the token is a well-forSTRING
AI Structural Patterns14 hits · 14 pts
SeverityFileLineSnippetContext
LOWpylint/config/deprecation_actions.py20CODE
LOWpylint/config/deprecation_actions.py65CODE
LOWpylint/config/callback_actions.py60CODE
LOWpylint/config/callback_actions.py103CODE
LOWpylint/config/callback_actions.py309CODE
LOWpylint/config/callback_actions.py431CODE
LOWpylint/utils/linterstats.py83CODE
LOWpylint/testutils/pyreverse.py27CODE
LOW…ext/redefined_variable_type/redefined_variable_type.py96CODE
LOW…ext/redefined_variable_type/redefined_variable_type.py100CODE
LOW…l/r/regression/regression_9865_calling_bound_lambda.py8CODE
LOWtests/functional/t/too/too_many_locals_py312.py10CODE
LOW…s/functional/a/assignment/assignment_from_no_return.py46CODE
LOW…s/functional/c/consider/consider_merging_isinstance.py37CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWpylint/testutils/utils.py61 # If new_pythonpath is None, make sure to delete PYTHONPATH if presentCOMMENT
MEDIUMexamples/pyproject.toml10# to run only the similarities checker, you can use "--disable=allCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/regrtest_data/fixme.py1# TODO: implementCOMMENT