We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sizeof
Describe the bug
Black fails on a simple cython file which uses sizeof.
To Reproduce
# file.pyx cdef INT32_SIZE = sizeof(int)
$ black -t cython file.pyx error: cannot format file.pyx: Cannot parse: 12:5: cdef INT32_SIZE = sizeof(np.int32_t) Oh no! 💥 💔 💥 1 file failed to reformat.
Expected behavior This should not fail as this is a valid cython file.
Environment (please complete the following information):
cython_support
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Black fails on a simple cython file which uses
sizeof
.To Reproduce
$ black -t cython file.pyx error: cannot format file.pyx: Cannot parse: 12:5: cdef INT32_SIZE = sizeof(np.int32_t) Oh no! 💥 💔 💥 1 file failed to reformat.
Expected behavior
This should not fail as this is a valid cython file.
Environment (please complete the following information):
cython_support
branch).The text was updated successfully, but these errors were encountered: