-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
The action is failing with this error message when run on a Windows runner.
Error: Control characters (codes < 0x1f and 0x7f) are not allowed in comments, use \u000d instead at row 19, col 61, pos 454:
18: omit = [
19> "**/tm_devices/commands/**" # TODO: remove this exclusion
^
20: ]
Action version:
I believe that it is v5.2.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Repro steps:
Workflow run: https://github.com/tektronix/tm_devices/actions/runs/10624903656/job/29454004640?pr=293
Here is a snippet of the toml file that is failing to be read:
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"pragma: no cover",
"raise NotImplementedError"
]
fail_under = 100
omit = [
"**/tm_devices/commands/**" # TODO: remove this exclusion
]
show_missing = true
skip_empty = true
[tool.poetry.dependencies]
python = "^3.8" # This is the main Python version requirementExpected behavior:
I expect it to parse the toml file the same way that it works on Ubuntu and MacOS.
Actual behavior:
The file is unable to be parsed due to a false failure for a character that doesn't seem to actually be there.
per1234
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working