cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

Allow CLI selection of a single rule to check.

Open wxtim opened this issue 1 year ago • 3 comments

Closes #5544

Additionally...

Fix a bug where empty flow.cylc files caused traceback.

To replicate

mkdir ~/cylc-src/foo
touch ~/cylc-src/foo/flow.cylc
cylc lint ~/cylc-src/foo

Check List

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

wxtim avatar Jun 04 '24 09:06 wxtim

PR title and description don't appear to match?

Does this do both? If so maybe a bugfix changelog entry?

oliver-sanders avatar Jun 05 '24 10:06 oliver-sanders

Does this do both? If so maybe a bugfix changelog entry?

Yes. Sorry - original text not super clear. Have added the changelog entry as suggested.

wxtim avatar Jun 05 '24 11:06 wxtim

Redrafting - not a priority

wxtim avatar Jun 27 '24 12:06 wxtim

Roll this into the full refactor of Cylc Lint - probably a good training day activity for Tim

wxtim avatar Aug 19 '24 08:08 wxtim