Closed
Description
PYTHONPATH=.:"../Kiwi/" pylint \
--load-plugins=pylint.extensions.no_self_use \
--load-plugins=pylint_django --django-settings-module=test_project.settings \
--load-plugins=kiwi_lint -d similar-string \
-d missing-docstring -d duplicate-code -d module-in-directory-without-init \
--ignore migrations \
*.py tcms_settings_dir/ trackers_integration/ test_project/
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint_plugin_utils/__init__.py", line 44, in augment_visit
checker = get_checker(linter, checker_method.__self__.__class__)
AttributeError: 'function' object has no attribute '__self__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.13/x64/bin/pylint", line 8, in <module>
sys.exit(run_pylint())
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint/__init__.py", line 35, in run_pylint
PylintRun(argv or sys.argv[1:])
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint/lint/run.py", line 151, in __init__
linter.load_plugin_modules(self._plugins)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 371, in load_plugin_modules
module.register(self)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint_django/plugin.py", line 44, in register
apply_augmentations(linter)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint_django/augmentations/__init__.py", line 840, in apply_augmentations
augment_visit(linter, TypeChecker.visit_attribute, foreign_key_sets)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint_plugin_utils/__init__.py", line 46, in augment_visit
checker = get_checker(
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/pylint_plugin_utils/__init__.py", line 28, in get_checker
raise NoSuchChecker(checker_class)
pylint_plugin_utils.NoSuchChecker: <class 'pylint.checkers.typecheck.TypeChecker'>
make: *** [Makefile:13: pylint] Error 1
https://github.com/kiwitcms/trackers-integration/runs/8037795176?check_suite_focus=true
- pylint-2.15.0
- pylint-django-2.5.3
- pylint-plugin-utils-0.7
Previous PASSING execution in my CI, https://github.com/kiwitcms/trackers-integration/runs/7983170188?check_suite_focus=true, was with
- pylint-2.14.5
- pylint-django-2.5.3
- pylint-plugin-utils-0.7
@carlio I'm not sure if I will be able to take a look at this over the weekend. I will try.
Metadata
Metadata
Assignees
Labels
No labels