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

Closes #17725: Clean up import statements #17728

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

jeremystretch
Copy link
Member

Closes: #17725

  • Remove all unused import statements
  • Tag imports with noqa: F401 as needed

@jeremystretch jeremystretch marked this pull request as ready for review October 10, 2024 16:09
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

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

I think utilities.serializers.json.py (https://github.com/netbox-community/netbox/blob/17725-imports-cleanup/netbox/utilities/serializers/json.py#L2) should have : F401 to be consistent, otherwise looks good.

@jeremystretch jeremystretch merged commit e59f776 into develop Oct 10, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17725-imports-cleanup branch October 10, 2024 18:52
bctiemann pushed a commit that referenced this pull request Oct 11, 2024
* #17725: Resolve all F401 errors

* Tweak noqa designation
jeremystretch added a commit to alehaa/netbox that referenced this pull request Oct 11, 2024
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.

Audit & clean up import statements application-wide
2 participants