Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove __implements__ usage #1

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Remove __implements__ usage #1

merged 3 commits into from
Oct 26, 2023

Conversation

ivica-prose
Copy link
Contributor

@ivica-prose ivica-prose commented Oct 25, 2023

Pylint removed support for this in this PR pylint-dev/pylint#8404

Fixes the following error:

Traceback (most recent call last):
  File "/usr/src/app/.venv/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
  File "/usr/src/app/.venv/lib/python3.10/site-packages/pylint/__init__.py", line 34, in run_pylint
    PylintRun(argv or sys.argv[1:])
  File "/usr/src/app/.venv/lib/python3.10/site-packages/pylint/lint/run.py", line 162, in __init__
    args = _config_initialization(
  File "/usr/src/app/.venv/lib/python3.10/site-packages/pylint/config/config_initialization.py", line 61, in _config_initialization
    linter.load_plugin_modules(utils._splitstrip(config_data["load-plugins"]))
  File "/usr/src/app/.venv/lib/python3.10/site-packages/pylint/lint/pylinter.py", line 380, in load_plugin_modules
    module = astroid.modutils.load_module_from_name(modname)
  File "/usr/src/app/.venv/lib/python3.10/site-packages/astroid/modutils.py", line 194, in load_module_from_name
    module = importlib.import_module(dotted_name)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/src/app/.venv/lib/python3.10/site-packages/pylint_super_not_called/__init__.py", line 6, in <module>
    from pylint.interfaces import IAstroidChecker
ImportError: cannot import name 'IAstroidChecker' from 'pylint.interfaces' (/usr/src/app/.venv/lib/python3.10/site-packages/pylint/interfaces.py)

Pylint removed support for this in this PR pylint-dev/pylint#8404
@ivica-prose ivica-prose merged commit 8bf6ced into main Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants