We have determined that the most feasible project in MNE-Python for a POSSEE cohort would be related to logging messages and string formatting. There are basically 2 parts to the project:
standardize our logging messages to avoid f-strings
a. Enable the linter rule G004 (https://docs.astral.sh/ruff/rules/logging-f-string/)
b. Configure ruff to recognize our internal warn command as a logging command, so that it actually flags lines as failing lint (using the lint.logger-objects setting).
c. reformulate all log lines that use f-strings to use either %s substitutions or the extras kwarg. Estimate of how many:
$ git grep -P '(?<!pytest\.)warn.*f"' | wc -l
33
Anywhere else in the codebase that isn't a logging message, we want to eliminate %s / %d / %f style substitutions and use f-strings instead. Estimate of how many: