Skip to content

2757 script arguments#3465

Open
hiker wants to merge 20 commits into
masterfrom
2757_script_arguments
Open

2757 script arguments#3465
hiker wants to merge 20 commits into
masterfrom
2757_script_arguments

Conversation

@hiker

@hiker hiker commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This is ready for a first review. It adds --script-kwargs command line option to pass command line arguments to scripts. It adds documentation, modifies one example and one tutorial lesson to use this feature.

Note that I originally intended to fix #3461, it turns out the fix to avoid modifying sys.path breaks tests in a non-obvious way, so have reverted this change.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2d08da6) to head (adba928).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #3465   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          395       395           
  Lines        55199     55285   +86     
=========================================
+ Hits         55199     55285   +86     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hiker

hiker commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

Ready for review. IT passed, the failure in linkinspector were caused by UKMO links not working, I've verified some of them, they are fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import scripts with the same name more than once (and sys.path growing)

1 participant