python_withings_api
python_withings_api copied to clipboard
Update black
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
.
The new version also changed formatting on some existing files. Do you want me to include them in this PR @vangorra ?