/usr/src/app/codeclimate-pylint:45: DeprecationWarning: Using the __implements__ inheritance pattern for BaseReporter is no longer supported. Child classes should only inherit BaseReporter
Run(parameters, reporter=CodeClimateReporter(), do_exit=False)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pylint_django/checkers/foreign_key_strings.py", line 120, in open
settings.configure(Settings(self.config.django_settings_module))
File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'code.settings'; 'code' is not a package
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/codeclimate-pylint", line 45, in <module>
Run(parameters, reporter=CodeClimateReporter(), do_exit=False)
File "/usr/local/lib/python3.8/site-packages/pylint/lint/run.py", line 215, in __init__
linter.check(args)
File "/usr/local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 713, in check
with self._astroid_module_checker() as check_astroid_module:
File "/usr/local/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1015, in _astroid_module_checker
checker.open()
File "/usr/local/lib/python3.8/site-packages/pylint_django/checkers/foreign_key_strings.py", line 125, in open
self.add_message(
File "/usr/local/lib/python3.8/site-packages/pylint/checkers/base_checker.py", line 164, in add_message
self.linter.add_message(
File "/usr/local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1341, in add_message
self._add_one_message(
File "/usr/local/lib/python3.8/site-packages/pylint/lint/pylinter.py", line 1274, in _add_one_message
self.stats.increase_single_module_message_count(
File "/usr/local/lib/python3.8/site-packages/pylint/utils/linterstats.py", line 315, in increase_single_module_message_count
self.by_module[modname][type_name] += increase
KeyError: 'Command line or configuration file'
|