Closed ap-wtioit closed 10 months ago
also updated black in pre-commit to 22.3.0 to prevent:
Traceback (most recent call last):
File "/home/runner/.cache/pre-commit/repoil7v2omk/py_env-python3/bin/black", line 8, in <module>
sys.exit(patched_main())
File "/home/runner/.cache/pre-commit/repoil7v2omk/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 6606, in patched_main
patch_click()
File "/home/runner/.cache/pre-commit/repoil7v2omk/py_env-python3/lib/python3.10/site-packages/black/__init__.py", line 6595, in patch_click
from click import _unicodefun # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repoil7v2omk/py_env-python3/lib/python3.10/site-packages/click/__init__.py)
Sorry, I didn't see it and fix it in #18
on our CI we got the following error during tests:
As stated in the python documentation, https://docs.python.org/3.10/library/asyncio-task.html#asyncio.coroutine:
and
Info @wt-io-it