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/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
113
basename
ref
function
and os.path.basename(filepath) == "__init__.py"
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
116
get_module_files
ref
function
for subfilepath in modutils.get_module_files(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
117
dirname
ref
function
os.path.dirname(filepath), ignore_list, list_all=is_namespace
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
121
_is_in_ignore_list_re
ref
function
if _is_in_ignore_list_re(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
122
basename
ref
function
os.path.basename(subfilepath), ignore_list_re
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
123
_is_in_ignore_list_re
ref
function
) or _is_in_ignore_list_re(subfilepath, ignore_list_paths_re):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/expand_modules.py
pylint/lint/expand_modules.py
126
_modpath_from_file
ref
function
modpath = _modpath_from_file(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
38
_get_new_args
def
function
def _get_new_args(message): location = ( message.abspath, message.path, message.module, message.obj, message.line, message.column, ) return (message.msg_id, message.symbol, location, message.msg, message.confidence)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
50
_worker_initialize
def
function
def _worker_initialize( linter: bytes, arguments: Union[None, str, Sequence[str]] = None
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
63
set_reporter
ref
function
_worker_linter.set_reporter(reporters.CollectingReporter())
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
63
CollectingReporter
ref
function
_worker_linter.set_reporter(reporters.CollectingReporter())
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
67
_patch_sys_path
ref
function
_patch_sys_path(arguments or ())
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
70
_worker_check_single_file
def
function
def _worker_check_single_file( file_item: FileItem,
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
78
check_single_file_item
ref
function
_worker_linter.check_single_file_item(file_item)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
80
get_checkers
ref
function
for checker in _worker_linter.get_checkers():
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
82
get_map_data
ref
function
data = checker.get_map_data()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
86
_get_new_args
ref
function
msgs = [_get_new_args(m) for m in _worker_linter.reporter.messages]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
87
reset
ref
function
_worker_linter.reporter.reset()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
108
_merge_mapreduce_data
def
function
def _merge_mapreduce_data(linter, all_mapreduce_data): """Merges map/reduce data across workers, invoking relevant APIs on checkers.""" # First collate the data and prepare it, so we can send it to the checkers for # validation. The intent here is to collect all the mapreduce data for all checker- # run...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
121
get_checkers
ref
function
original_checkers = linter.get_checkers()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
126
reduce_map_data
ref
function
checker.reduce_map_data(linter, collated_map_reduce_data[checker.name])
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
129
check_parallel
def
function
def check_parallel( linter: "PyLinter", jobs: int, files: Iterable[FileItem], arguments: Union[None, str, Sequence[str]] = None,
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
163
imap_unordered
ref
function
) in pool.imap_unordered(_worker_check_single_file, files):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
165
set_current_module
ref
function
linter.set_current_module(module, file_path)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
167
Message
ref
function
msg = Message(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
168
MessageLocationTuple
ref
function
msg[0], msg[1], MessageLocationTuple(*msg[2]), msg[3], msg[4]
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
170
handle_message
ref
function
linter.reporter.handle_message(msg)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
175
_merge_mapreduce_data
ref
function
_merge_mapreduce_data(linter, all_mapreduce_data)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
176
merge_stats
ref
function
linter.stats = merge_stats([linter.stats] + all_stats)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/parallel.py
pylint/lint/parallel.py
179
get_checkers
ref
function
for checker in linter.get_checkers():
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
80
_read_stdin
def
function
def _read_stdin(): # https://mail.python.org/pipermail/python-list/2012-November/634424.html sys.stdin = TextIOWrapper(sys.stdin.detach(), encoding="utf-8") return sys.stdin.read()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
86
_load_reporter_by_class
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
88
get_module_part
ref
function
module_part = astroid.modutils.get_module_part(qname)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
89
load_module_from_name
ref
function
module = astroid.modutils.load_module_from_name(module_part)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
190
PyLinter
def
class
make_options __init__ load_default_plugins load_plugin_modules load_plugin_configuration _load_reporters _load_reporter_by_name set_reporter set_option register_reporter report_order register_checker enable_fail_on_messages any_fail_on_issues disable_noerror_messages disable_reporters error_mode list_messages_enabled p...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
221
make_options
def
function
def make_options() -> Tuple[Tuple[str, OptionDict], ...]: return ( ( "ignore", { "type": "csv", "metavar": "<file>[,<file>...]", "dest": "black_list", "default": ("CVS",), ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
558
set_reporter
ref
function
self.set_reporter(reporter)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
560
set_reporter
ref
function
self.set_reporter(TextReporter())
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
560
TextReporter
ref
function
self.set_reporter(TextReporter())
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
573
FileState
ref
function
self.file_state = FileState()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
580
LinterStats
ref
function
self.stats = LinterStats()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
585
make_options
ref
function
options + PyLinter.make_options()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
604
MessageDefinitionStore
ref
function
self.msgs_store = MessageDefinitionStore()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
612
find_default_config_files
ref
function
config_file=pylintrc or next(config.find_default_config_files(), None),
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
625
register_checker
ref
function
self.register_checker(self)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
626
load_provider_defaults
ref
function
self.load_provider_defaults()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
628
load_default_plugins
def
function
def load_default_plugins(self): checkers.initialize(self) reporters.initialize(self) def load_plugin_modules(self, modnames): """Take a list of module names which are pylint plugins and load and register them """ for modname in modnames: if modname in...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
629
initialize
ref
function
checkers.initialize(self)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
630
initialize
ref
function
reporters.initialize(self)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
632
load_plugin_modules
def
function
def load_plugin_modules(self, modnames): """Take a list of module names which are pylint plugins and load and register them """ for modname in modnames: if modname in self._dynamic_plugins: continue self._dynamic_plugins.add(modname) ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
641
load_module_from_name
ref
function
module = astroid.modutils.load_module_from_name(modname)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
642
register
ref
function
module.register(self)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
646
load_plugin_configuration
def
function
def load_plugin_configuration(self): """Call the configuration hook for plugins. This walks through the list of plugins, grabs the "load_configuration" hook, if exposed, and calls it to allow plugins to configure specific settings. """ for modname in self._dynamic_pl...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
655
load_module_from_name
ref
function
module = astroid.modutils.load_module_from_name(modname)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
657
load_configuration
ref
function
module.load_configuration(self)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
659
add_message
ref
function
self.add_message("bad-plugin-value", args=(modname, e), line=0)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
661
_load_reporters
def
function
def _load_reporters(self, reporter_names: str) -> None: """Load the reporters if they are available on _reporters.""" if not self._reporters: return sub_reporters = [] output_files = [] with contextlib.ExitStack() as stack: for reporter_name in reporte...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
671
_load_reporter_by_name
ref
function
reporter = self._load_reporter_by_name(reporter_name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
674
enter_context
ref
function
output_file = stack.enter_context(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
681
pop_all
ref
function
close_output_files = stack.pop_all().close
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
684
set_reporter
ref
function
self.set_reporter(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
685
MultiReporter
ref
function
reporters.MultiReporter(
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
691
set_reporter
ref
function
self.set_reporter(sub_reporters[0])
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
693
_load_reporter_by_name
def
function
def _load_reporter_by_name(self, reporter_name: str) -> reporters.BaseReporter: name = reporter_name.lower() if name in self._reporters: return self._reporters[name]() try: reporter_class = _load_reporter_by_class(reporter_name) except (ImportError, Attribute...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
699
_load_reporter_by_class
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
701
InvalidReporterError
ref
function
raise exceptions.InvalidReporterError(name) from e
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
703
reporter_class
ref
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
705
set_reporter
def
function
def set_reporter( self, reporter: Union[reporters.BaseReporter, reporters.MultiReporter] ) -> None: """Set the reporter used to display messages and reports.""" self.reporter = reporter reporter.linter = self def set_option(self, optname, value, action=None, optdict=None): ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
712
set_option
def
function
def set_option(self, optname, value, action=None, optdict=None): """Overridden from config.OptionsProviderMixin to handle some special options """ if optname in self._options_methods or optname in self._bw_options_methods: if value: try: ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
726
_check_csv
ref
function
value = utils._check_csv(value)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
729
meth
ref
function
meth(_id, ignore_unknown=True)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
731
meth
ref
function
meth(value)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
737
_load_reporters
ref
function
self._load_reporters(value)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
739
set_option
ref
function
checkers.BaseTokenChecker.set_option(self, optname, value, action, optdict)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
743
register_reporter
def
class
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
747
report_order
def
function
def report_order(self): reports = sorted(self._reports, key=lambda x: getattr(x, "name", "")) try: # Remove the current reporter and add it # at the end of the list. reports.pop(reports.index(self)) except ValueError: pass else: ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
761
register_checker
def
function
def register_checker(self, checker: checkers.BaseChecker) -> None: """This method auto registers the checker.""" assert checker.priority <= 0, "checker priority can't be >= 0" self._checkers[checker.name].append(checker) for r_id, r_title, r_cb in checker.reports: self.re...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
766
register_report
ref
function
self.register_report(r_id, r_title, r_cb, checker)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
767
register_options_provider
ref
function
self.register_options_provider(checker)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
769
register_messages_from_checker
ref
function
self.msgs_store.register_messages_from_checker(checker)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
770
load_defaults
ref
function
checker.load_defaults()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
773
disable
ref
function
self.disable(checker.name)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
775
enable_fail_on_messages
def
function
def enable_fail_on_messages(self): """Enable 'fail on' msgs. Convert values in config.fail_on (which might be msg category, msg id, or symbol) to specific msgs, then enable and flag them for later. """ fail_on_vals = self.config.fail_on if not fail_on_vals: ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
800
enable
ref
function
self.enable(msg.msgid)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
806
any_fail_on_issues
def
function
def any_fail_on_issues(self): return self.stats and any( x in self.fail_on_symbols for x in self.stats.by_msg.keys() ) def disable_noerror_messages(self): for msgcat, msgids in self.msgs_store._msgs_by_category.items(): # enable only messages with 'error' severit...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
811
disable_noerror_messages
def
function
def disable_noerror_messages(self): for msgcat, msgids in self.msgs_store._msgs_by_category.items(): # enable only messages with 'error' severity and above ('fatal') if msgcat in {"E", "F"}: for msgid in msgids: self.enable(msgid) else:...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
816
enable
ref
function
self.enable(msgid)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
819
disable
ref
function
self.disable(msgid)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
821
disable_reporters
def
function
def disable_reporters(self): """Disable all reporters.""" for _reporters in self._reports.values(): for report_id, _, _ in _reporters: self.disable_report(report_id) def error_mode(self): """Error mode: enable only errors; no reports, no persistent.""" ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
825
disable_report
ref
function
self.disable_report(report_id)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
827
error_mode
def
function
def error_mode(self): """Error mode: enable only errors; no reports, no persistent.""" self._error_mode = _True self.disable_noerror_messages() self.disable("miscellaneous") self.set_option("reports", _False) self.set_option("persistent", _False) self.set_opti...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
830
disable_noerror_messages
ref
function
self.disable_noerror_messages()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
831
disable
ref
function
self.disable("miscellaneous")
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
832
set_option
ref
function
self.set_option("reports", False)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
833
set_option
ref
function
self.set_option("persistent", False)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
834
set_option
ref
function
self.set_option("score", False)
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
836
list_messages_enabled
def
function
def list_messages_enabled(self): emittable, non_emittable = self.msgs_store.find_emittable_messages() enabled = [] disabled = [] for message in emittable: if self.is_message_enabled(message.msgid): enabled.append(f" {message.symbol} ({message.msgid})") ...
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
837
find_emittable_messages
ref
function
emittable, non_emittable = self.msgs_store.find_emittable_messages()
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
841
is_message_enabled
ref
function
if self.is_message_enabled(message.msgid):
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py
pylint/lint/pylinter.py
859
process_tokens
def
function
def process_tokens(self, tokens): """Process tokens from the current module to search for module/block level options. """ control_pragmas = {"disable", "disable-next", "enable"} prev_line = None saw_newline = _True seen_newline = _True for (tok_type, c...