Skip to content

Check fails in loading modules.#1172

Merged
rocky merged 5 commits intomasterfrom
sanitizeloadmodules
Mar 6, 2021
Merged

Check fails in loading modules.#1172
rocky merged 5 commits intomasterfrom
sanitizeloadmodules

Conversation

@mmatera
Copy link
Copy Markdown
Contributor

@mmatera mmatera commented Mar 4, 2021

With this PR, I try to detect problems associated with version mismatch (See #1169 for an example).

@mmatera
Copy link
Copy Markdown
Contributor Author

mmatera commented Mar 4, 2021

Now, this also fixes #1171.

@mmatera mmatera requested a review from a team March 4, 2021 16:42
rocky added 3 commits March 6, 2021 16:13
* Add # noqa to the __version__ import
* Remove #!/usr/bin/env python3 which is wrong here
* Remove unused imports in buitins
* Add # noqa to the __version__ import
* Remove #!/usr/bin/env python3 which is wrong here
* Remove unused imports in buitins
@rocky rocky force-pushed the sanitizeloadmodules branch from cc7e054 to 7138976 Compare March 6, 2021 21:48
Copy link
Copy Markdown
Member

@rocky rocky left a comment

Choose a reason for hiding this comment

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

I tried this locally and it looked good.

About the import line. I added a # noqa See https://stackoverflow.com/questions/45346575/what-does-noqa-mean-in-python-comments

Also I ran black over the files and removed the lines that start:

#/usr/bin/env python3

which is not appropriate here. These belong only on command-line files.

@mmatera I had originally wanted to keep this separate but there were just all these conflicts when creating the branch. Also this change is a bit more than I would have liked.

Please check it over and if ok merge in.

@rocky rocky merged commit 4be33d2 into master Mar 6, 2021
@mmatera mmatera deleted the sanitizeloadmodules branch March 14, 2021 18:28
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