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
Using the latest master, I've got the following errors:
/opt/hostedtoolcache/Python/3.10.2/x64/bin/pre-commit run --show-diff-on-failure --color=always --all-files
...
jinjalint...................................................................Failed
- hook id: jinjalint
- exit code: 1
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/bin/jinjalint", line 8, in <module>
sys.exit(main())
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/lib/python3.10/site-packages/jinjalint/cli.py", line 63, in main
paths = list(resolve_file_paths(input_names, extensions=extensions))
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/lib/python3.10/site-packages/jinjalint/util.py", line 9, in flatten
if (isinstance(el, collections.Iterable) and
AttributeError: module 'collections' has no attribute 'Iterable'
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/bin/jinjalint", line 8, in <module>
sys.exit(main())
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/lib/python3.10/site-packages/jinjalint/cli.py", line 63, in main
paths = list(resolve_file_paths(input_names, extensions=extensions))
File "/home/runner/.cache/pre-commit/repobsmo5jsj/py_env-python3/lib/python3.10/site-packages/jinjalint/util.py", line 9, in flatten
if (isinstance(el, collections.Iterable) and
AttributeError: module 'collections' has no attribute 'Iterable'
The error happens with Python v3.10.2. Works fine with v3.9.7 and v3.9.10.
Using the latest master, I've got the following errors:
The error happens with Python v3.10.2. Works fine with v3.9.7 and v3.9.10.
Action file:
Pre-commit config file:
The text was updated successfully, but these errors were encountered: