Pierre-Marie de Rodat
6cefc74c93
Set up pre-commit checks and reformat the Python sources with black
2025-03-26 14:04:20 +00:00
Pierre-Marie de Rodat
df84be5d5d
python_api/app: fix testcase for Python <3.9
2024-10-18 12:24:37 +00:00
Pierre-Marie de Rodat
54a7dd3a6c
Modernize type annotations
2024-10-16 15:23:56 +00:00
Pierre-Marie de Rodat
cf404171ea
Python App: add parsing errors handling for requested units
...
By default, make App instances print parsing errors for all requested
units on the standard output, and let subclasses override this behavior
if needed.
Also extend the Python playground so that parsing errors fit nicely into
the prompt header.
2023-07-25 19:03:32 +00:00
Pierre-Marie de Rodat
b298a62b39
python_api/app: fix propagation of path_wrapper to subprocesses
...
TN: VA12-016
2022-12-05 16:13:40 +00:00
Pierre-Marie de Rodat
52297d3c8c
Python API: allow App subclasses to associate event handlers to contexts
...
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
dc16344d15
python_api/app: refactor testcase
...
TN: VA12-016
2022-11-23 12:37:21 +00:00
Pierre-Marie de Rodat
5c9eea0853
python_api/python_app: rename to python_api/app
...
TN: VA12-016
2022-11-23 12:37:21 +00:00