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

Pylint alerts corrections as part of an intervention experiment 1853 #1855

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mpcontribs-portal\mpcontribs\users\als_beamline\scripts\__main__.py w…
…ildcard-import

Wildcard imports make it harder to understand what is imported from where.
Removing it is also a defensive programming act, lowering the probability of collisions due to future new imports or objects.
evidencebp committed Nov 15, 2024
commit f6dbc351d86f4360caf38832ff063a24f1396f3c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import argparse, os
from mpcontribs.io.archieml.mpfile import MPFile
from pre_submission import *
from pre_submission import run

parser = argparse.ArgumentParser(
description="""generate MPFile from directory of related XAS measurements"""