Skip to content

code cleanup in easyblock.py#4519

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:refactor-easyblock
May 22, 2024
Merged

code cleanup in easyblock.py#4519
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:refactor-easyblock

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

  • Remove pass statements where not required
  • Enhance docstrings
  • Use .items when values of dict is used (faster, clearer)
  • basename instead of split()[-1]

- Remove `pass` statements where not required
- Enhance docstrings
- Use `.items` when values of dict is used (faster, clearer)
- `basename` instead of `split()[-1]`
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel boegel added this to the release after 4.9.1 milestone May 22, 2024
@boegel boegel changed the title Simplify easyblock.py code cleanup in easyblock.py May 22, 2024
@boegel boegel merged commit ae29588 into easybuilders:develop May 22, 2024
@Flamefire Flamefire deleted the refactor-easyblock branch May 22, 2024 14:59
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