fname
stringlengths
63
176
rel_fname
stringclasses
706 values
line
int64
-1
4.5k
name
stringlengths
1
81
kind
stringclasses
2 values
category
stringclasses
2 values
info
stringlengths
0
77.9k
⌀
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
846
expand_modules
ref
function
result, errors = expand_modules(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
855
set_current_module
ref
function
self.set_current_module(modname)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
858
add_message
ref
function
self.add_message(key, args=message)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
861
set_current_module
def
function
def set_current_module( self, modname: str | None, filepath: str | None = None ) -> None: """Set the name of the currently analyzed module and init statistics for it. """ if not modname and filepath is None: return self.reporter.on_set_current_module(m...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
869
on_set_current_module
ref
function
self.reporter.on_set_current_module(modname or "", filepath)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
882
init_single_module
ref
function
self.stats.init_single_module(modname or "")
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
885
_astroid_module_checker
def
function
def _astroid_module_checker( self, ) -> Iterator[Callable[[nodes.Module], bool | None]]: """Context manager for checking ASTs. The value in the context is callable accepting AST as its only argument. """ walker = ASTWalker(self) _checkers = self.prepare_checkers(...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
892
ASTWalker
ref
function
walker = ASTWalker(self)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
893
prepare_checkers
ref
function
_checkers = self.prepare_checkers()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
904
implements
ref
function
interfaces.implements(c, interfaces.ITokenChecker)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
923
implements
ref
function
interfaces.implements(c, interfaces.IRawChecker)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
936
add_checker
ref
function
walker.add_checker(checker)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
950
get_ast
def
function
def get_ast( self, filepath: str, modname: str, data: str | None = None ) -> nodes.Module: """Return an ast(roid) representation of a module or a string. :param str filepath: path to checked file. :param str modname: The name of the module to be checked. :param str data:...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
964
ast_from_file
ref
function
return MANAGER.ast_from_file(filepath, modname, source=True)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
965
AstroidBuilder
ref
function
return astroid.builder.AstroidBuilder(MANAGER).string_build(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
965
string_build
ref
function
return astroid.builder.AstroidBuilder(MANAGER).string_build(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
970
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
977
add_message
ref
function
self.add_message("parse-error", args=ex)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
983
AstroidBuildingError
ref
function
raise astroid.AstroidBuildingError(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
989
check_astroid_module
def
function
def check_astroid_module( self, ast_node: nodes.Module, walker: ASTWalker, rawcheckers: list[checkers.BaseRawFileChecker], tokencheckers: list[checkers.BaseTokenChecker], ) -> bool | None: """Check a module from its astroid representation. For return valu...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,002
_check_astroid_module
ref
function
retval = self._check_astroid_module(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,015
_check_astroid_module
def
function
def _check_astroid_module( self, node: nodes.Module, walker: ASTWalker, rawcheckers: list[checkers.BaseRawFileChecker], tokencheckers: list[checkers.BaseTokenChecker], ) -> bool | None: """Check given AST node with given walker and checkers. :param astroi...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,033
tokenize_module
ref
function
tokens = utils.tokenize_module(node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,035
add_message
ref
function
self.add_message("syntax-error", line=ex.args[1][0], args=ex.args[0])
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,039
add_message
ref
function
self.add_message("raw-checker-failed", args=node.name)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,044
process_tokens
ref
function
self.process_tokens(tokens)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,048
collect_block_lines
ref
function
self.file_state.collect_block_lines(self.msgs_store, node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,051
process_module
ref
function
raw_checker.process_module(node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,053
process_tokens
ref
function
token_checker.process_tokens(tokens)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,060
LinterStats
ref
function
self.stats = LinterStats()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,068
reset_message_count
ref
function
self.stats.reset_message_count()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,071
generate_reports
def
function
def generate_reports(self) -> int | None: """Close the whole package /module, it's time to make reports ! if persistent run, pickle results for later comparison """ # Display whatever messages are left on the reporter. self.reporter.display_messages(report_nodes.Section()) ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,077
display_messages
ref
function
self.reporter.display_messages(report_nodes.Section())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,077
Section
ref
function
self.reporter.display_messages(report_nodes.Section())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,081
load_results
ref
function
previous_stats = config.load_results(self.file_state.base_name)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,082
on_close
ref
function
self.reporter.on_close(self.stats, previous_stats)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,084
make_reports
ref
function
sect = self.make_reports(self.stats, previous_stats)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,086
Section
ref
function
sect = report_nodes.Section()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,089
display_reports
ref
function
self.reporter.display_reports(sect)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,090
_report_evaluation
ref
function
score_value = self._report_evaluation()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,093
save_results
ref
function
config.save_results(self.stats, self.file_state.base_name)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,095
on_close
ref
function
self.reporter.on_close(self.stats, LinterStats())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,095
LinterStats
ref
function
self.reporter.on_close(self.stats, LinterStats())
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,099
_report_evaluation
def
function
def _report_evaluation(self) -> int | None: """Make the global evaluation report.""" # check with at least check 1 statements (usually 0 when there is a # syntax error preventing pylint from further processing) note = None assert self.file_state.base_name previous_sta...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,105
load_results
ref
function
previous_stats = config.load_results(self.file_state.base_name)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,133
EvaluationSection
ref
function
sect = report_nodes.EvaluationSection(msg)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,134
display_reports
ref
function
self.reporter.display_reports(sect)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,139
_get_message_state_scope
def
function
def _get_message_state_scope( self, msgid: str, line: int | None = None, confidence: interfaces.Confidence | None = None, ) -> Literal[0, 1, 2] | None: """Returns the scope at which a message was enabled/disabled.""" if confidence is None: confidence =...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,157
_is_one_message_enabled
def
function
def _is_one_message_enabled(self, msgid: str, line: int | None) -> bool: """Checks state of a single message for the current file. This function can't be cached as it depends on self.file_state which can change. """ if line is None: return self._msgs_state.get(ms...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,172
get_effective_max_line_number
ref
function
max_line_number = self.file_state.get_effective_max_line_number()
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,193
is_message_enabled
def
function
def is_message_enabled( self, msg_descr: str, line: int | None = None, confidence: interfaces.Confidence | None = None, ) -> bool: """Return whether this message is enabled for the current file, line and confidence level. This function can't be cached right now a...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,212
get_active_msgids
ref
function
msgids = self.msgs_store.message_id_store.get_active_msgids(msg_descr)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,218
_is_one_message_enabled
ref
function
return any(self._is_one_message_enabled(msgid, line) for msgid in msgids)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,220
_add_one_message
def
function
def _add_one_message( self, message_definition: MessageDefinition, line: int | None, node: nodes.NodeNG | None, args: Any | None, confidence: interfaces.Confidence | None, col_offset: int | None, end_lineno: int | None, end_col_offset: int | No...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,234
check_message_definition
ref
function
message_definition.check_message_definition(line, node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,258
is_message_enabled
ref
function
if not self.is_message_enabled(message_definition.msgid, line, confidence):
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,259
handle_ignored_message
ref
function
self.file_state.handle_ignored_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,260
_get_message_state_scope
ref
function
self._get_message_state_scope(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,271
increase_single_message_count
ref
function
self.stats.increase_single_message_count(msg_cat, 1)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,272
increase_single_module_message_count
ref
function
self.stats.increase_single_module_message_count(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,290
get_module_and_frameid
ref
function
module, obj = utils.get_module_and_frameid(node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,291
root
ref
function
abspath = node.root().file
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,297
handle_message
ref
function
self.reporter.handle_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,298
Message
ref
function
Message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,301
MessageLocationTuple
ref
function
MessageLocationTuple(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,316
add_message
def
function
def add_message( self, msgid: str, line: int | None = None, node: nodes.NodeNG | None = None, args: Any | None = None, confidence: interfaces.Confidence | None = None, col_offset: int | None = None, end_lineno: int | None = None, end_col_offset...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,337
get_message_definitions
ref
function
message_definitions = self.msgs_store.get_message_definitions(msgid)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,339
_add_one_message
ref
function
self._add_one_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,350
add_ignored_message
def
function
def add_ignored_message( self, msgid: str, line: int, node: nodes.NodeNG | None = None, confidence: interfaces.Confidence | None = interfaces.UNDEFINED, ) -> None: """Prepares a message to be added to the ignored message storage. Some checks return early ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,364
get_message_definitions
ref
function
message_definitions = self.msgs_store.get_message_definitions(msgid)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,366
check_message_definition
ref
function
message_definition.check_message_definition(line, node)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,367
handle_ignored_message
ref
function
self.file_state.handle_ignored_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,368
_get_message_state_scope
ref
function
self._get_message_state_scope(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,377
_set_one_msg_status
def
function
def _set_one_msg_status( self, scope: str, msg: MessageDefinition, line: int | None, enable: bool ) -> None: """Set the status of an individual message.""" if scope == "module": assert isinstance(line, int) # should always be int inside module scope self.file_st...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,384
set_msg_status
ref
function
self.file_state.set_msg_status(msg, line, enable)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,386
add_message
ref
function
self.add_message(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,393
_get_messages_to_set
def
function
def _get_messages_to_set( self, msgid: str, enable: bool, ignore_unknown: bool = _False ) -> list[MessageDefinition]: """Do some tests and find the actual messages of which the status should be set.""" message_definitions = [] if msgid == "all": for _msgid in MSG_TYPE...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,401
_get_messages_to_set
ref
function
self._get_messages_to_set(_msgid, enable, ignore_unknown)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,414
_get_messages_to_set
ref
function
self._get_messages_to_set(_msgid, enable, ignore_unknown)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,423
_get_messages_to_set
ref
function
self._get_messages_to_set(_msgid, enable, ignore_unknown)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,430
enable_report
ref
function
self.enable_report(msgid)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,432
disable_report
ref
function
self.disable_report(msgid)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,437
get_message_definitions
ref
function
message_definitions = self.msgs_store.get_message_definitions(msgid)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,443
_set_msg_status
def
function
def _set_msg_status( self, msgid: str, enable: bool, scope: str = "package", line: int | None = None, ignore_unknown: bool = _False, ) -> None: """Do some tests and then iterate over message definitions to set state.""" assert scope in {"package", ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,454
_get_messages_to_set
ref
function
message_definitions = self._get_messages_to_set(msgid, enable, ignore_unknown)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,457
_set_one_msg_status
ref
function
self._set_one_msg_status(scope, message_definition, line, enable)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,465
get_message_definitions
ref
function
for m in self.msgs_store.get_message_definitions(msgid_or_symbol)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,472
_register_by_id_managed_msg
def
function
def _register_by_id_managed_msg( self, msgid_or_symbol: str, line: int | None, is_disabled: bool = _True ) -> None: """If the msgid is a numeric one, then register it to inform the user it could furnish instead a symbolic msgid. """ if msgid_or_symbol[1:].isdigit(): ...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,480
get_symbol
ref
function
symbol = self.msgs_store.message_id_store.get_symbol(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,485
ManagedMessage
ref
function
managed = ManagedMessage(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,490
disable
def
function
def disable( self, msgid: str, scope: str = "package", line: int | None = None, ignore_unknown: bool = _False, ) -> None: """Disable a message for a scope.""" self._set_msg_status( msgid, enable=_False, scope=scope, line=line, ignore_unknown=ig...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,498
_set_msg_status
ref
function
self._set_msg_status(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,501
_register_by_id_managed_msg
ref
function
self._register_by_id_managed_msg(msgid, line)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,503
disable_next
def
function
def disable_next( self, msgid: str, scope: str = "package", line: int | None = None, ignore_unknown: bool = _False, ) -> None: """Disable a message for the next line.""" if not line: raise exceptions.NoLineSuppliedError self._set_msg_st...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,513
_set_msg_status
ref
function
self._set_msg_status(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,520
_register_by_id_managed_msg
ref
function
self._register_by_id_managed_msg(msgid, line + 1)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,522
enable
def
function
def enable( self, msgid: str, scope: str = "package", line: int | None = None, ignore_unknown: bool = _False, ) -> None: """Enable a message for a scope.""" self._set_msg_status( msgid, enable=_True, scope=scope, line=line, ignore_unknown=ignor...
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,530
_set_msg_status
ref
function
self._set_msg_status(
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
1,533
_register_by_id_managed_msg
ref
function
self._register_by_id_managed_msg(msgid, line, is_disabled=False)
playground/2af25c45-9624-42e9-b1b3-5ecb19e13cc8/pylint/pylint/lint/report_functions.py
pylint/lint/report_functions.py
14
report_total_messages_stats
def
function
def report_total_messages_stats( sect: Section, stats: LinterStats, previous_stats: LinterStats | None,