$ python3.6 -m pylint keepercommander/commands/record_common.py
cmd output started 2021 Mon Oct 04 03:54:33 PM PDT
Traceback (most recent call last):
File "/usr/local/cpython-3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/cpython-3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/__main__.py", line 9, in <module>
pylint.run_pylint()
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/__init__.py", line 24, in run_pylint
PylintRun(sys.argv[1:])
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/lint/run.py", line 268, in __init__
linter.load_default_plugins()
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/lint/pylinter.py", line 547, in load_default_plugins
checkers.initialize(self)
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/checkers/__init__.py", line 84, in initialize
register_plugins(linter, __path__[0])
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/utils/utils.py", line 195, in register_plugins
module.register(linter)
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/checkers/refactoring/__init__.py", line 50, in register
linter.register_checker(RefactoringChecker(linter))
File "/Users/dstromberg/.local/lib/python3.6/site-packages/pylint/checkers/refactoring/refactoring_checker.py", line 468, in __init__
self._consider_using_with_stack = ConsiderUsingWithStack()
TypeError: __new__() missing 3 required positional arguments: 'module_scope', 'class_scope', and 'function_scope'
It doesn't appear to matter what file I try to lint; pylint gives that same traceback.
Further detail:
$ python3.6 -m pylint --version
cmd output started 2021 Mon Oct 04 03:55:06 PM PDT
pylint 2.11.1
astroid 2.8.0
Python 3.6.0 (default, Oct 4 2021, 15:45:33)
[GCC Apple LLVM 12.0.5 (clang-1205.0.22.11)]
$ python3.6 --version
cmd output started 2021 Mon Oct 04 04:06:05 PM PDT
Python 3.6.0
Pypi seems to believe that pylint still supports CPython 3.6 though.
The same pylint version of the same input file with CPython 3.7 works as I'm accustomed to.
Is there any possibility of a fix, or workaround?
Thanks! I really like pylint.
--
Dan Stromberg | Senior Software Engineer
Mobile +1.949.342.6502
** This email is confidential and is intended for the recipient(s) addressed herein **