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

alt #1

Conversation

wxtim
Copy link
Owner

@wxtim wxtim commented Sep 12, 2023

No description provided.

cylc/rose/utilities.py Outdated Show resolved Hide resolved
cylc/rose/utilities.py Outdated Show resolved Hide resolved
return _identify_templating_section(defined_sections)


def _identify_templating_section(

Choose a reason for hiding this comment

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

This shouldn't have an underscore prefix.

Underscore prefix means, don't use this outside of the scope it's defined in e.g:

  • Underscore-prefixed method: only the class should use this
  • Underscore-prefixed function: only the module should use this
  • Underscore-prefixed module: only the package should use this

wxtim and others added 2 commits September 21, 2023 10:14
Co-authored-by: Oliver Sanders <[email protected]>
Co-authored-by: Oliver Sanders <[email protected]>
cylc/rose/utilities.py Outdated Show resolved Hide resolved
tests/unit/test_config_node.py Outdated Show resolved Hide resolved
@wxtim wxtim merged commit 37ca72b into fix.template_section_name_for_defines Sep 21, 2023
0 of 3 checks passed
@wxtim wxtim deleted the fix.template_section_name_for_defines_with_refactor branch September 21, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants