python_withings_api icon indicating copy to clipboard operation
python_withings_api copied to clipboard

Update black

Open parberge opened this issue 2 years ago • 1 comments

The previous version didn't work on darwin:

===Formatting code===
Traceback (most recent call last):
  File "/Users/parberge/.local/share/virtualenvs/python_withings_api-weMUTams/bin/black", line 5, in <module>
    from black import patched_main
  File "/Users/parberge/.local/share/virtualenvs/python_withings_api-weMUTams/lib/python3.9/site-packages/black.py", line 45, in <module>
    from typed_ast import ast3, ast27
  File "/Users/parberge/.local/share/virtualenvs/python_withings_api-weMUTams/lib/python3.9/site-packages/typed_ast/ast3.py", line 40, in <module>
    from typed_ast import _ast3
ImportError: dlopen(/Users/parberge/.local/share/virtualenvs/python_withings_api-weMUTams/lib/python3.9/site-packages/typed_ast/_ast3.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '__PyUnicode_DecodeUnicodeEscape'

When I updated to 22.1.0 it worked. Updated lock file running poetry update black.

parberge avatar Mar 23 '22 12:03 parberge