-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
As a MARI and IMAT instrument scientist I would like the script checking process to be faster. It used to be "nearly instantaneous" and it now takes "several seconds".
Currently we clear the pylint cache before each invocation of the linter so that we pick up any new changes to instrument scripts. We could potentially check whether instrument scripts have changed and only clear the cache if so.
Acceptance criteria:
- Pylint cache is only cleared if the scripts in inst change
- Message is displayed if the cache is cleared
- Time of scripts should be reassessed if a call to
g.load_script(...)takes more than 1 second on an instrument-like machine (e.g. DEMO) with representative instrument scripts defined a new ticket is created