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
Python standard is 4 spaces for indentation, not a tab:
$ maturin new --mixed yourpackage $ cat yourpackage/python/yourproject/__init__.py from .yourproject import * __doc__ = yourproject.__doc__ if hasattr(yourproject, "__all__"): __all__ = yourproject.__all__ # <--- TAB
maturin --version
0.14.10
python -V
3.9.16
pip -V
22.0.4
None
cargo build
/
maturin new --mixed yourpackage, look at __init__.py
__init__.py
The text was updated successfully, but these errors were encountered:
d68c5ff
Replace tab indent with spaces to fix PyO3#1429
1a39542
No branches or pull requests
Bug Description
Python standard is 4 spaces for indentation, not a tab:
Your maturin version (
maturin --version
)0.14.10
Your Python version (
python -V
)3.9.16
Your pip version (
pip -V
)22.0.4
What bindings you're using
None
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
maturin new --mixed yourpackage, look at
__init__.py
The text was updated successfully, but these errors were encountered: