You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyflakes /tmp/test_pattern_matching.py
Traceback (most recent call last):
File "/root/checked_repos/attrs/.env/bin/pyflakes", line 8, in <module>
sys.exit(main())
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/api.py", line 210, in main
warnings = checkRecursive(args, reporter)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/api.py", line 155, in checkRecursive
warnings += checkPath(sourcePath, reporter)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/api.py", line 99, in checkPath
return check(codestr, filename, reporter)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/api.py", line 74, in check
w = checker.Checker(tree, file_tokens=file_tokens, filename=filename)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 904, in __init__
self.handleChildren(tree)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1359, in handleChildren
self.handleNode(node, tree)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1406, in handleNode
handler(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1166, in _unknown_handler
self.handleChildren(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1359, in handleChildren
self.handleNode(node, tree)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1406, in handleNode
handler(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1166, in _unknown_handler
self.handleChildren(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1359, in handleChildren
self.handleNode(node, tree)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1406, in handleNode
handler(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1166, in _unknown_handler
self.handleChildren(node)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1359, in handleChildren
self.handleNode(node, tree)
File "/root/checked_repos/attrs/.env/lib/python3.10/site-packages/pyflakes/checker.py", line 1402, in handleNode
node._pyflakes_depth = self.nodeDepth
AttributeError: 'str' object has no attribute '_pyflakes_depth'
The text was updated successfully, but these errors were encountered:
This doesn't happen with positional only argument matches but keyword argument pattern matching as below throws error.
Traceback
The text was updated successfully, but these errors were encountered: