Dear group,
using ST4 build 4199 under Ubuntu Linux, my project file looks like this:
{
"folders":
[
{
"path": "..",
"folder_exclude_patterns": ["__pycache__", ".venv", ".ruff_cache"]
}
],
"build_systems":
[
{
"name": "ruff check",
"working_dir": "$folder",
"shell_cmd": "source ./.venv/bin/activate && ruff check",
"file_regex": "(\\w+\\.py):(\\d+):(\\d+)",
"quiet": true,
},
],
}
When I run the “ruff check” build, the output is like this:
SIM103 Return the condition `(date.today() - d).days < 3` directly
--> backup.py:21:5
|
19 | return True
20 |
...
However, the file_regex doesn’t match and whatever I try, I cannot make it match.
Can someone please give me a hint?
)