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

Move 'import lxml' to third-party block of imports #2803

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

paulromano
Copy link
Contributor

Description

Very simple PR here that just fixes where import lxml appears in Python scripts. Per PEP8, imports should be grouped in the following order: standard-library imports, third-party imports, local imports. A few unused imports have been removed while I was at it.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 15) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

Copy link
Member

@shimwell shimwell left a comment

Choose a reason for hiding this comment

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

Saw this easy to review PR and gave it a speedy review. All looks good to me. I see a few other unused imports were removed as well, nice.

@shimwell
Copy link
Member

Will merge tomorrow if there are no objections

@shimwell shimwell added the Merging Soon PR will be merged in < 24 hrs if no further comments are made. label Dec 12, 2023
@shimwell shimwell merged commit 85c963e into openmc-dev:develop Dec 13, 2023
16 checks passed
@paulromano paulromano deleted the lxml-imports branch December 15, 2023 01:13
church89 pushed a commit to openmsr/openmc that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merging Soon PR will be merged in < 24 hrs if no further comments are made.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants