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

warn if non-single-letter local variables not named 'local_*' or '_*' are used + enhance --fix-deprecated-easyconfigs to rename them #2938

Merged
merged 23 commits into from
Jul 4, 2019

Conversation

boegel
Copy link
Member

@boegel boegel commented Jun 26, 2019

cfr. discussion in #2912

Marked WIP since it needs a bit more love before it can be considered complete, in particular:

  • improve regular expression used to rename non-conforming local variables via --fix-deprecated-easyconfigs
  • disallow easyconfig parameters that have single-letter name or a name that starts with local_*
  • make enhanced test for --fix-deprecated-easyconfigs pass

@boegel boegel added this to the 4.0 milestone Jun 26, 2019
test/framework/easyconfig.py Outdated Show resolved Hide resolved
test/framework/easyconfig.py Outdated Show resolved Hide resolved
@boegel boegel changed the title [WIP] warn if non-single-letter local variables not named 'local_*' are used + enhance --fix-deprecated-easyconfigs to rename them [WIP] warn if non-single-letter local variables not named 'local_*' or '_*' are used + enhance --fix-deprecated-easyconfigs to rename them Jun 26, 2019
@easybuilders easybuilders deleted a comment from boegelbot Jun 26, 2019
@easybuilders easybuilders deleted a comment from boegelbot Jun 27, 2019
This was referenced Aug 8, 2019
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.

4 participants