Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hilary James Oliver <[email protected]>
  • Loading branch information
wxtim and hjoliver authored Nov 22, 2024
1 parent a094cad commit d844dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changes.d/6459.feat.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
`cylc lint` now checks for unecessary continuation characters in graph section.
`cylc lint` now checks for unnecessary continuation characters in the graph section.
4 changes: 2 additions & 2 deletions cylc/flow/scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def list_wrapper(line: str, check: Callable) -> Optional[Dict[str, str]]:
},
'S014': {
'short': (
'`=>` is a line continuation without `\\`'
'`=>` implies line continuation without `\\`'
),
FUNCTION: re.compile(r'=>\s*\\').findall
},
Expand Down Expand Up @@ -723,7 +723,7 @@ def list_wrapper(line: str, check: Callable) -> Optional[Dict[str, str]]:
},
'U017': {
'short': (
'`&` and `|` are line continuations without `\\`'
'`&` and `|` imply line continuation without `\\`'
),
FUNCTION: re.compile(r'[&|]\s*\\').findall
},
Expand Down

0 comments on commit d844dfd

Please sign in to comment.