I started getting below on my local. It comes from pylint_quotes, but the plugin might have some issues.
python -m pylint --load-plugins pylint_quotes --rcfile .pylintrc appium test --disable=E1136
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint/__main__.py", line 10, in <module>
pylint.run_pylint()
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint/__init__.py", line 34, in run_pylint
PylintRun(argv or sys.argv[1:])
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint/lint/run.py", line 155, in __init__
linter.load_plugin_modules(self._plugins)
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint/lint/pylinter.py", line 379, in load_plugin_modules
module = astroid.modutils.load_module_from_name(modname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/astroid/modutils.py", line 196, in load_module_from_name
module = importlib.import_module(dotted_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint_quotes/__init__.py", line 5, in <module>
from pylint_quotes import checker, plugin # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint_quotes/checker.py", line 8, in <module>
from pylint.interfaces import IAstroidChecker, ITokenChecker
ImportError: cannot import name 'IAstroidChecker' from 'pylint.interfaces' (/Users/kazu/.asdf/installs/python/3.12.4/lib/python3.12/site-packages/pylint/interfaces.py)
make: *** [pylint] Error 1
I haven't dug into the issue deeply yet, but the plugin hasn't maintained so long.
I'll create PR later with config.
I started getting below on my local. It comes from
pylint_quotes, but the plugin might have some issues.I haven't dug into the issue deeply yet, but the plugin hasn't maintained so long.
I recently use
ruff. Perhaps we also could useruffinstead of pylint, isort and black.https://github.com/astral-sh/ruff
I'll create PR later with config.