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

Suggested change to warning text re integers starting with a zero #255

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

jonnyhtw
Copy link
Contributor

@jonnyhtw jonnyhtw commented Oct 5, 2023

Suggested change to warning text when integers with leading zeros are encountered.

This PR addresses issue #254

Tests not needed because only warning text is changed.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

Looks good to me, one tweak to the wording suggested. (However, I'm not a fully-fledged Rose developer).

' Rose will extend support until a future version.'
'\nPlease amend your Rose configuration files e.g:'
'\nPlease amend your Rose configuration files,
' which currently contain:'
Copy link
Member

Choose a reason for hiding this comment

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

👍

cylc/rose/jinja2_parser.py Outdated Show resolved Hide resolved
@MetRonnie MetRonnie requested a review from wxtim October 5, 2023 11:25
@MetRonnie MetRonnie added this to the 1.4.0 milestone Oct 5, 2023
@wxtim wxtim self-requested a review October 5, 2023 15:31
cylc/rose/jinja2_parser.py Outdated Show resolved Hide resolved
cylc/rose/jinja2_parser.py Outdated Show resolved Hide resolved
Copy link
Member

@wxtim wxtim left a comment

Choose a reason for hiding this comment

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

You need to terminate your strings - I've given you some suggestions - this is my only objection, if the tests build I'm happy for @MetRonnie to whack merge without further review from me.

@oliver-sanders
Copy link
Member

MetRonnie or MetOllie?

@wxtim
Copy link
Member

wxtim commented Oct 5, 2023

MetRonnie or MetOllie?

Either will Do

@wxtim wxtim merged commit 545bdb1 into cylc:master Oct 5, 2023
8 checks passed
@hjoliver hjoliver modified the milestones: 1.4.0, 1.3.1 Oct 5, 2023
@jonnyhtw jonnyhtw deleted the integers-with-leading-zeros-text branch October 10, 2023 03:16
wxtim added a commit to wxtim/cylc-rose that referenced this pull request Oct 24, 2023
…lc#255)

* Suggested change to warning text when integers with leading zeros are found in the cylc workflow definition.

* Apply suggestions from code review

Co-authored-by: Tim Pillinger <[email protected]>

---------

Co-authored-by: Oliver Sanders <[email protected]>
Co-authored-by: Tim Pillinger <[email protected]>
wxtim added a commit to wxtim/cylc-rose that referenced this pull request Oct 24, 2023
…lc#255)

* Suggested change to warning text when integers with leading zeros are found in the cylc workflow definition.

* Apply suggestions from code review

Co-authored-by: Tim Pillinger <[email protected]>

---------

Co-authored-by: Oliver Sanders <[email protected]>
Co-authored-by: Tim Pillinger <[email protected]>
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.

5 participants