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
Describe the bug
Generator produces black error and invalid model.
To Reproduce
Steps to reproduce the behavior:
Generate lib from example OpenAPI
See error traceback
File "/Users/Matvey/Documents/GitHub/openapi-python-client/openapi_python_client/__init__.py", line 113, in build
self._reformat()
File "/Users/Matvey/Documents/GitHub/openapi-python-client/openapi_python_client/__init__.py", line 146, in _reformat
subprocess.run(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'black .' returned non-zero exit status 123.
Activity
dbanty commentedon Aug 16, 2021
Whoops, clearly the tests around that feature aren't good enough. Thanks for testing and reporting so quickly!
fix: Properly replace reserved words in class and module names [#475, #…
fix: Properly replace reserved words in class and module names [#475, #…
fix: Properly replace reserved words in class and module names [#475, #…