Cover this use-case:
Denny
23.06.2021
Great extension.
Unfortunately this extension only does the job when using a variable like this:
__UPDATED__ = "2021-06-22 17:28:25"
It won't work using code like this:
__UPDATED__: str = "2021-06-22 17:28:25"
Nils Ballmann
23.06.2021
Thank you.
The default value for python-coding-tools.update-module-variable.variableName is __update__. If you put __UPDATED__: str as > value, it should already cover your use-case.
The downside of that approach is that the untyped variable name stops working.
Feel free to create an issue on GitHub or even a pull request to throw an optional type hint into the mix.
Cover this use-case: