Volker Stolz 5e250d8a76
Augment SyntaxError raised during dependency collection with offending filename (#109204)
* Capture parsing exception when collecting dependencies and augment with offending filename.

Whereas before any syntax error in some component-file would result in an opaque SyntaxError without pointing out the file, now the result will show as:

```
  File "/usr/local/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/pool.py", line 873, in next
    raise value
SyntaxError: Can't parse file homeassistant/components/your/file.py
```

* tweak

* D'oh, had pre-commit hook still off.

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-23 17:13:25 +02:00
..
2024-04-08 15:43:58 +02:00
2023-04-27 22:39:29 +02:00
2018-09-25 20:47:51 +02:00
2023-03-17 13:30:06 +01:00
2024-03-28 10:18:07 +01:00
2024-02-06 15:41:34 +01:00
2023-02-06 15:06:43 +01:00
2023-06-26 19:03:56 +02:00