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

Don't re-export imports outside of __init__.py #2226

Merged
merged 3 commits into from May 28, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Mar 25, 2024

And check for conventions regressions with Ruff

And check for conventions regressions with Ruff

[lint.per-file-ignores]
# Explicit re-exports is fine in __init__.py, still a code smell elsewhere.
"__init__.py" = ["PLC0414"]
Copy link
Collaborator Author

@Avasam Avasam Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Avasam
Copy link
Collaborator Author

Avasam commented Apr 12, 2024

@vernondcole You resolved the comment, I assume that means you're ok with this change, but would like to confirm this has your approval.

@Avasam Avasam requested a review from vernondcole May 10, 2024 02:30
@Avasam Avasam merged commit fe5cd1e into mhammond:main May 28, 2024
27 checks passed
@Avasam Avasam deleted the PLC-re-exported-symbols-outside-__init__ branch May 28, 2024 04:52
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.

None yet

2 participants