You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://github.com/andy-landy/traceback_with_variables/blob/master/.github/workflows/dev-test.yml#L59"><imgtitle="code tests coverage is 100%"alt="code tests coverage is 100%"src="https://img.shields.io/badge/coverage-100%25-brightgreen.svg"></a>
<ahref="https://github.com/andy-landy/traceback_with_variables/blob/master/.github/workflows/master-test.yml#L59"><imgtitle="code tests coverage is 100%"alt="code tests coverage is 100%"src="https://img.shields.io/badge/coverage-100%25-brightgreen.svg"></a>
> :warning:**This module is actively updated and has a substantial list of features to add this week**: so any proposal or advice or warning is very welcome and will be taken into account of course. When I started it I wanted to make a tool meeting all standard use cases. I think in this particular domain this is rather achievable, so I'll try. Note `next_version` branch also. Have fun!
43
+
> :warning:**I'm open to update this module to meet new use cases and to make using it easier and fun**: so any proposal or advice or warning is very welcome and will be taken into account of course. When I started it I wanted to make a tool meeting all standard use cases. I think in this particular domain this is rather achievable, so I'll try. Note `next_version` branch also. Have fun!
<ahref="https://github.com/andy-landy/traceback_with_variables/tree/master/examples/simple.py">Simplest usage in regular Python</a>, for the whole program:
68
+
<ahref="https://github.com/andy-landy/traceback_with_variables/tree/master/examples/simple.py">Simplest usage</a>, for the whole program:
64
69
```python
65
70
from traceback_with_variables import activate_by_import
66
71
```
67
-
68
-
<ahref="https://github.com/andy-landy/traceback_with_variables/tree/master/examples/simple_jupyter.py">Simplest usage in Jupyter or IPython</a>, for the whole program:
72
+
or just (if you added an alias by the above command)
69
73
```python
70
-
from traceback_with_variables importactivate_in_ipython_by_import
74
+
importtb.a
71
75
```
72
76
73
-
74
77
<ahref="https://github.com/andy-landy/traceback_with_variables/tree/master/examples/print_for_function.py">Decorator</a>, for a single function:
75
78
```python
76
79
@prints_exc
@@ -238,7 +241,7 @@ Using a logger [<a href="https://github.com/andy-landy/traceback_with_variables/
238
241
is_vegan = not (eggs or milk)
239
242
is_huge = (sugar + eggs + milk + flour + salt + water > 10000)
240
243
if not (is_sweet or is_vegan or is_huge):
241
-
raise ValueError('This is unacceptable, guess why!')
244
+
raise ValueError('This is unacceptable, look why!')
> :warning: **This module is actively updated and has a substantial list of features to add this week**: so any proposal or advice or warning is very welcome and will be taken into account of course. When I started it I wanted to make a tool meeting all standard use cases. I think in this particular domain this is rather achievable, so I'll try. Note `next_version` branch also. Have fun!
43
+
> :warning: **I'm open to update this module to meet new use cases and to make using it easier and fun**: so any proposal or advice or warning is very welcome and will be taken into account of course. When I started it I wanted to make a tool meeting all standard use cases. I think in this particular domain this is rather achievable, so I'll try. Note `next_version` branch also. Have fun!
0 commit comments