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/pylinter.py | pylint/lint/pylinter.py | 878 | search | ref | function | match = OPTION_PO.search(content)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 882 | parse_pragma | ref | function | for pragma_repr in parse_pragma(match.group(2)):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 885 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 890 | add_message | ref | function | self.add_message("file-ignored", line=start[0])
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 898 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 912 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 917 | add_message | ref | function | self.add_message("file-ignored", line=start[0])
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 926 | meth | ref | function | meth(msgid, "module", l_start)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 928 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 932 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 937 | add_message | ref | function | self.add_message("bad-inline-option", args=err.token, line=start[0])
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 942 | get_checkers | def | function | def get_checkers(self):
"""Return all available checkers as a list."""
return [self] + [
c
for _checkers in self._checkers.values()
for c in _checkers
if c is not self
]
def get_checker_names(self):
"""Get all the checker names tha... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 951 | get_checker_names | def | function | def get_checker_names(self):
"""Get all the checker names that this linter knows about."""
current_checkers = self.get_checkers()
return sorted(
{
checker.name
for checker in current_checkers
if checker.name != MAIN_CHECKER_NAME
... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 953 | get_checkers | ref | function | current_checkers = self.get_checkers()
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 962 | prepare_checkers | def | function | def prepare_checkers(self):
"""Return checkers needed for activated messages and reports."""
if not self.config.reports:
self.disable_reporters()
# get needed checkers
needed_checkers = [self]
for checker in self.get_checkers()[1:]:
messages = {msg for... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 965 | disable_reporters | ref | function | self.disable_reporters()
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 968 | get_checkers | ref | function | for checker in self.get_checkers()[1:]:
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 969 | is_message_enabled | ref | function | messages = {msg for msg in checker.msgs if self.is_message_enabled(msg)}
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 970 | report_is_enabled | ref | function | if messages or any(self.report_is_enabled(r[0]) for r in checker.reports):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 980 | should_analyze_file | def | function | null |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,003 | initialize | def | function | def initialize(self):
"""Initialize linter for linting.
This method is called before any linting is done.
"""
# initialize msgs_state now that all messages have been registered into
# the store
for msg in self.msgs_store.messages:
if not msg.may_be_emitte... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,011 | may_be_emitted | ref | function | if not msg.may_be_emitted():
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,015 | _discover_files | def | function | def _discover_files(files_or_modules: Sequence[str]) -> Iterator[str]:
"""Discover python modules and packages in subdirectory.
Returns iterator of paths to discovered modules and packages.
"""
for something in files_or_modules:
if os.path.isdir(something) and not os.pat... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,021 | isdir | ref | function | if os.path.isdir(something) and not os.path.isfile(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,021 | isfile | ref | function | if os.path.isdir(something) and not os.path.isfile(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,041 | check | def | function | def check(self, files_or_modules: Union[Sequence[str], str]) -> None:
"""Main checking entry: check a list of files or modules from their name.
files_or_modules is either a string or list of strings presenting modules to check.
"""
self.initialize()
if not isinstance(files_o... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,046 | initialize | ref | function | self.initialize()
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,056 | _discover_files | ref | function | files_or_modules = tuple(self._discover_files(files_or_modules))
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,059 | InvalidArgsError | ref | function | raise exceptions.InvalidArgsError(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,064 | fix_import_path | ref | function | with fix_import_path(files_or_modules):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,065 | _check_files | ref | function | self._check_files(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,066 | _read_stdin | ref | function | functools.partial(self.get_ast, data=_read_stdin()),
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,067 | _get_file_descr_from_stdin | ref | function | [self._get_file_descr_from_stdin(filepath)],
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,070 | fix_import_path | ref | function | with fix_import_path(files_or_modules):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,071 | _check_files | ref | function | self._check_files(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,072 | _iterate_file_descrs | ref | function | self.get_ast, self._iterate_file_descrs(files_or_modules)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,075 | check_parallel | ref | function | check_parallel(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,078 | _iterate_file_descrs | ref | function | self._iterate_file_descrs(files_or_modules),
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,082 | check_single_file | def | function | def check_single_file(self, name: str, filepath: str, modname: str) -> None:
warnings.warn(
"In pylint 3.0, the checkers check_single_file function will be removed. "
"Use check_single_file_item instead.",
DeprecationWarning,
)
self.check_single_file_item(... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,088 | check_single_file_item | ref | function | self.check_single_file_item(FileItem(name, filepath, modname))
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,088 | FileItem | ref | function | self.check_single_file_item(FileItem(name, filepath, modname))
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,090 | check_single_file_item | def | function | def check_single_file_item(self, file: FileItem) -> None:
"""Check single file item.
The arguments are the same that are documented in _check_files
initialize() should be called before calling this method
"""
with self._astroid_module_checker() as check_astroid_module:
... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,097 | _astroid_module_checker | ref | function | with self._astroid_module_checker() as check_astroid_module:
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,098 | _check_file | ref | function | self._check_file(self.get_ast, check_astroid_module, file)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,100 | _check_files | def | function | def _check_files(
self,
get_ast,
file_descrs: Iterable[FileItem],
) -> None:
"""Check all files from file_descrs."""
with self._astroid_module_checker() as check_astroid_module:
for file in file_descrs:
try:
self._check_file... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,106 | _astroid_module_checker | ref | function | with self._astroid_module_checker() as check_astroid_module:
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,109 | _check_file | ref | function | self._check_file(get_ast, check_astroid_module, file)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,111 | prepare_crash_report | ref | function | template_path = prepare_crash_report(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,114 | get_fatal_error_message | ref | function | msg = get_fatal_error_message(file.filepath, template_path)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,117 | add_message | ref | function | self.add_message(symbol, args=(file.filepath, msg))
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,120 | add_message | ref | function | self.add_message(symbol, args=msg)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,122 | _check_file | def | function | def _check_file(self, get_ast, check_astroid_module, file: FileItem):
"""Check a file using the passed utility functions (get_ast and check_astroid_module).
:param callable get_ast: callable returning AST from defined file taking the following arguments
- filepath: path to the file to check... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,132 | set_current_module | ref | function | self.set_current_module(file.name, file.filepath)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,134 | get_ast | ref | function | ast_node = get_ast(file.filepath, file.name)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,140 | FileState | ref | function | self.file_state = FileState(file.modpath)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,144 | check_astroid_module | ref | function | check_astroid_module(ast_node)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,146 | iter_spurious_suppression_messages | ref | function | spurious_messages = self.file_state.iter_spurious_suppression_messages(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,150 | add_message | ref | function | self.add_message(msgid, line, None, args)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,153 | _get_file_descr_from_stdin | def | function | def _get_file_descr_from_stdin(filepath: str) -> FileItem:
"""Return file description (tuple of module name, file path, base name) from given file path.
This method is used for creating suitable file description for _check_files when the
source is standard input.
"""
try:
... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,163 | modpath_from_file | ref | function | modname = ".".join(astroid.modutils.modpath_from_file(filepath))
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,165 | splitext | ref | function | modname = os.path.splitext(os.path.basename(filepath))[0]
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,165 | basename | ref | function | modname = os.path.splitext(os.path.basename(filepath))[0]
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,167 | FileItem | ref | function | return FileItem(modname, filepath, filepath)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,169 | _iterate_file_descrs | def | function | def _iterate_file_descrs(self, files_or_modules) -> Iterator[FileItem]:
"""Return generator yielding file descriptions (tuples of module name, file path, base name).
The returned generator yield one item for each Python module that should be linted.
"""
for descr in self._expand_fil... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,174 | _expand_files | ref | function | for descr in self._expand_files(files_or_modules):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,176 | should_analyze_file | ref | function | if self.should_analyze_file(name, filepath, is_argument=is_arg):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,177 | FileItem | ref | function | yield FileItem(name, filepath, descr["basename"])
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,179 | _expand_files | def | function | def _expand_files(self, modules) -> List[ModuleDescriptionDict]:
"""Get modules and errors from a list of modules and handle errors."""
result, errors = expand_modules(
modules,
self.config.black_list,
self.config.black_list_re,
self._ignore_paths,
... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,181 | expand_modules | ref | function | result, errors = expand_modules(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,190 | set_current_module | ref | function | self.set_current_module(modname)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,193 | add_message | ref | function | self.add_message(key, args=message)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,196 | set_current_module | def | function | def set_current_module(self, modname, filepath: Optional[str] = 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(modname, filepath)
if mod... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,202 | on_set_current_module | ref | function | self.reporter.on_set_current_module(modname, filepath)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,214 | init_single_module | ref | function | self.stats.init_single_module(modname)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,217 | _astroid_module_checker | def | function | def _astroid_module_checker(self):
"""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()
tokencheckers = [
c
for c in _ch... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,222 | ASTWalker | ref | function | walker = ASTWalker(self)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,223 | prepare_checkers | ref | function | _checkers = self.prepare_checkers()
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,227 | implements | ref | function | if interfaces.implements(c, interfaces.ITokenChecker) and c is not self
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,230 | implements | ref | function | c for c in _checkers if interfaces.implements(c, interfaces.IRawChecker)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,235 | implements | ref | function | if interfaces.implements(checker, interfaces.IAstroidChecker):
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,236 | add_checker | ref | function | walker.add_checker(checker)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,250 | get_ast | def | function | def get_ast(
self, filepath: str, modname: str, data: Optional[str] = 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 da... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,264 | ast_from_file | ref | function | return MANAGER.ast_from_file(filepath, modname, source=True)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,265 | AstroidBuilder | ref | function | return astroid.builder.AstroidBuilder(MANAGER).string_build(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,265 | string_build | ref | function | return astroid.builder.AstroidBuilder(MANAGER).string_build(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,270 | add_message | ref | function | self.add_message(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,277 | add_message | ref | function | self.add_message("parse-error", args=ex)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,283 | AstroidBuildingError | ref | function | raise astroid.AstroidBuildingError(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,289 | check_astroid_module | def | function | def check_astroid_module(self, ast_node, walker, rawcheckers, tokencheckers):
"""Check a module from its astroid representation.
For return value see _check_astroid_module
"""
before_check_statements = walker.nbstatements
retval = self._check_astroid_module(
ast... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,296 | _check_astroid_module | ref | function | retval = self._check_astroid_module(
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,306 | _check_astroid_module | def | function | def _check_astroid_module(
self, node: nodes.Module, walker, rawcheckers, tokencheckers
):
"""Check given AST node with given walker and checkers.
:param astroid.nodes.Module node: AST node of the module to check
:param pylint.utils.ast_walker.ASTWalker walker: AST walker
... |
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,321 | tokenize_module | ref | function | tokens = utils.tokenize_module(node)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,323 | add_message | ref | function | self.add_message("syntax-error", line=ex.args[1][0], args=ex.args[0])
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,327 | add_message | ref | function | self.add_message("raw-checker-failed", args=node.name)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,332 | process_tokens | ref | function | self.process_tokens(tokens)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,336 | collect_block_lines | ref | function | self.file_state.collect_block_lines(self.msgs_store, node)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,339 | process_module | ref | function | checker.process_module(node)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,341 | process_tokens | ref | function | checker.process_tokens(tokens)
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,350 | LinterStats | ref | function | self.stats = LinterStats()
|
playground/e9b22a58-260b-483f-88d7-7a5fe9f8b1d4/pylint/pylint/lint/pylinter.py | pylint/lint/pylinter.py | 1,358 | reset_message_count | ref | function | self.stats.reset_message_count()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.