cylc-flow
cylc-flow copied to clipboard
pyproject.toml: cylc lint settings
Closes #5052
Check List
- [x] I have read
CONTRIBUTING.mdand 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.cfgandconda-environment.yml-tomliused, because it will become the standard library's interface.- It has no dependencies
- Uses MIT licence
- [x] Tests are included (or explain why tests are not needed).
- [x]
CHANGES.mdentry included if this is a change that can affect users - [x] Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/531.
Waiting for reviewers to check that I've not gone off at teh deep end prior to writing a documentation PR
1 doctest failure
Oops, tests/f/cylc-lint/01.lint-toml.t failing
ignore = ['S008']is now recognised but does not work
I can't replicate this - can you send me the toml file you are using - It took me a wee while to remember that my section heading was cylc-lint and not cylc_lint or cylclint. What do you think of testing for any of those?
Just using
[cylc-lint]
ignore = ['S008']
and having a line longer than the default 130
It took me a wee while to remember that my section heading was
cylc-lintand notcylc_lintorcylclint. What do you think of testing for any of those?
I think it's too much work to try and anticipate users' typos
It took me a wee while to remember that my section heading was
cylc-lintand notcylc_lintorcylclint. What do you think of testing for any of those?I think it's too much work to try and anticipate users' typos
I see - I think I've fixed it
Everythging seems to be working apart from ignoring S008. I suggest adding a test for that too
Everythging seems to be working apart from ignoring
S008. I suggest adding a test for that too
Reverted to draft - not priority this afternboon