question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Поставил CudaLinter и PyLinter. Открыл пи-файл. Запустил из меню вызов линтера. Получил в Консоль

Using config file C:\Programs\CudaText\settings\pylint.rc
Traceback (most recent call last):
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\decorators.py", line 85, in wrapped
    res = next(generator)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\decorators.py", line 100, in wrapped
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Programs\CudaText\py\cuda_lint_pylint\pylint\lint.py", line 942, in get_ast
    return MANAGER.ast_from_file(filepath, modname, source=True)
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\manager.py", line 80, in ast_from_file
    return AstroidBuilder(self).file_build(filepath, modname)
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\builder.py", line 153, in file_build
    return self._post_build(module, encoding)
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\builder.py", line 173, in _post_build
    self.delayed_assattr(delayed)
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\builder.py", line 232, in delayed_assattr
    for inferred in node.expr.infer():
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\decorators.py", line 85, in wrapped
    res = next(generator)
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\bases.py", line 95, in _infer_stmts
    for inferred in stmt.infer(context=context):
  File "C:\Programs\CudaText\py\cuda_lint_pylint\astroid\context.py", line 40, in cache_generator
    for result in generator:
RuntimeError: generator raised StopIteration

Что делать?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:33 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
kvichanscommented, Jul 20, 2020

Хорошо ЕЩЕ бы дать dlg_menu (добавить кноп в диалог) для поиска среди всех галок и по коду и по тексту

0reactions
Alexey-Tcommented, Jul 21, 2020

верно

Пока никак. вы писали плаг config pep8. Второго нет

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pylint 2.16.0-dev documentation
Pylint is a static code analyser for Python 2 or 3. The latest version supports Python 3.7.2 and above. Pylint analyses your code ......
Read more >
Pylint - code analysis for Python | www.pylint.org
Fully customizable. Modify your pylintrc to customize which errors or conventions are important to you. The big advantage with Pylint is that it...
Read more >
Pylint - Wikipedia
Pylint is a static code analysis tool for the Python programming language. It is named following a common convention in Python of a...
Read more >
pylint
Pylint is a Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells...
Read more >
Linting Python in Visual Studio Code
Pylint. Pylint messages fall into the categories in the following table with the indicated mapping to VS Code categories. You can change the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found