Skip to content
New issue

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

Breaking change: Change the function name so that IDEs can properly suggest it. #7

Merged
merged 3 commits into from
Dec 7, 2024

Conversation

flipbit03
Copy link
Owner

In my usage, I've found that some IDEs/LSPs actively avoid suggesting an import named like main(), as that is a common name used as ... main functions in user code 😅

This PR basically renames @main to @python_main, avoiding that issue.

…IDEs actively avoid suggesting importing something named "main")
@flipbit03 flipbit03 self-assigned this Dec 7, 2024
@flipbit03
Copy link
Owner Author

@Kettss1 thanks for reviewing this very involved pull request - I'm sure it was a tour de force!

@flipbit03 flipbit03 merged commit ebc2cf1 into main Dec 7, 2024
5 checks passed
@flipbit03 flipbit03 deleted the rename_main_function branch December 7, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants