Skip to content

Fix duplicate dict entries and enable fatal error checking for easyconfigs via flake8#20173

Merged
casparvl merged 2 commits intoeasybuilders:developfrom
Flamefire:duplicate-dict-fix
Mar 21, 2024
Merged

Fix duplicate dict entries and enable fatal error checking for easyconfigs via flake8#20173
casparvl merged 2 commits intoeasybuilders:developfrom
Flamefire:duplicate-dict-fix

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

This enables fatal error checking for ECs via flake8 which includes unknown/undefined variables used and other serious issues.

Those found in current ECs are fixed here. Mostly duplicate dict keys which are obviously a mistake.

I kept the last entry each which is what python would use

@Flamefire
Copy link
Copy Markdown
Contributor Author

@casparvl This is in similar spirit to #20161 and actually fixes some issues

Especially the additionally enabled flake8 checks are important to get in fast before new issues pop up (see my PRs for fixing the space issues for good and the executable EC fix which are open for ages now and have to repeatably updated due to conflicts and new issues fixed due to missing CI check)

Copy link
Copy Markdown
Contributor

@casparvl casparvl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. All changes are for EasyConfigs for which the toolchains are deprecated. That makes it difficult, but also less crucial to test. I'll force a merge on this one.

@casparvl casparvl added this to the release after 4.9.0 milestone Mar 21, 2024
@casparvl casparvl merged commit d3e7323 into easybuilders:develop Mar 21, 2024
@Flamefire Flamefire deleted the duplicate-dict-fix branch March 21, 2024 09:53
@migueldiascosta migueldiascosta changed the title Fix duplicate dict entries Fix duplicate dict entries and enable fatal error checking for ECs via flake8 Apr 4, 2024
@boegel boegel changed the title Fix duplicate dict entries and enable fatal error checking for ECs via flake8 Fix duplicate dict entries and enable fatal error checking for easyconfigs via flake8 Apr 4, 2024
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.

2 participants