Traceback (most recent call last):


 "/home/amnesia/Persistent/securedrop/admin/.venv3/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/home/mars/.local/python/bin/vint", line 11, in <module>

load_entry_point('vim-vint==0.3.21.dev45+gbcd6562', 'console_scripts', 'vint')()


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/__init__.py", line 11, in main

init_cli()


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/bootstrap.py", line 21, in init_cli

start_cli()


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/cli.py", line 38, in start_cli

violations = _lint_all(env, config_dict)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/cli.py", line 131, in _lint_all

violations += linter.lint(lint_target)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 106, in lint

self._traverse(root_ast, lint_target)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 132, in _traverse

traverse(root_ast,


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 9, in for_each

call_if_def(func, node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def

func(node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def

func(node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 15, in for_each_deeply

for_each(func, nodes)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 9, in for_each

call_if_def(func, node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def

func(node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>

accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 238, in traverse

should_traverse_children = on_enter(node) is not SKIP_CHILDREN


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 133, in <lambda>

on_enter=lambda node: self._handle_enter(node, lint_context),


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 151, in _handle_enter

self._refresh_policies_if_necessary(node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 185, in _refresh_policies_if_necessary

dynamic_config.update_by_node(node)


 "/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/config/config_next_line_comment_source.py", line 43, in update_by_node

lnum_of_node = node['pos']['lnum']
TypeError: 'int' object is not subscriptable
