Skip to content

'NewStyleConflictChecker' has no attribute 'visit_classdef' #203

@makr11

Description

@makr11

Full traceback

Traceback (most recent call last):
File "c:\users\marin\appdata\local\programs\python\python37-32\Lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\marin\appdata\local\programs\python\python37-32\Lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Marin\dev\spartacus_django_react\backend\Scripts\pylint.exe_main
.py", line 9, in
File "c:\users\marin\dev\spartacus_django_react\backend\lib\site-packages\pylint_init
.py", line 20, in run_pylintackages\pylint_init_.py", line 20, in run_pylint
Run(sys.argv[1:]) ackages\pylint\lint.py", line 1521, in init
File "c:\users\marin\dev\spartacus_django_react\backend\lib\site-packages\pylint\lint.py", line 1521, in init ackages\pylint\lint.py", line 651, in load_plugin_modules
linter.load_plugin_modules(self.plugins)
File "c:\users\marin\dev\spartacus_django_react\backend\lib\site-packages\pylint_django\plugin.py", line 30, in registerackages\pylint\lint.py", line 651, in load_plugin_modules
module.register(self) File "c:\users\marin\dev\spartacus_django_react\backend\lib\site-packages\pylint_django\plugin.py", line 30, in register apply_augmentations(linter)
File "c:\users\marin\dev\spartacus_django_react\backend\lib\site-packages\pylint_django\augmentations_init
.py", line 790, in apply_augmentations suppress_message(linter, NewStyleConflictChecker.visit_classdef, 'old-style-class', is_model_meta_subclass)AttributeError: type object 'NewStyleConflictChecker' has no attribute 'visit_classdef'

Pip freeze

astroid==2.1.0
colorama==0.4.1
Django==2.1.3
django-cors-headers==2.4.0
django-rest-framework==0.1.0
djangorestframework==3.9.0
isort==4.3.4
lazy-object-proxy==1.3.1
mccabe==0.6.1
pylint==2.2.0
pylint-django==2.0.2
pylint-plugin-utils==0.4
pytz==2018.7
six==1.11.0
typed-ast==1.1.0
wrapt==1.10.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions