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
Doit ignores action_string_formatting = "new" when defined in pyproject.toml. It uses the default value 'old'. However, when defining it directly in the doit.py it works as expected. The bug persists when using doit.cfg.
I did some crude debugging and if params.update_defaults(self.config_vals) is added at the start of DoItCmdBase.execute(), then the issue disappears.
Note that I'm extremely unexperienced with doit, so this may be user error. But the included files follow directly what is in the documentation (pyproject-toml, keywords on cmd-action string). So it may instead be a documentation problem instead of bug.
Describe the bug
Doit ignores
action_string_formatting = "new"
when defined inpyproject.toml
. It uses the default value 'old'. However, when defining it directly in thedoit.py
it works as expected. The bug persists when usingdoit.cfg
.I did some crude debugging and if
params.update_defaults(self.config_vals)
is added at the start ofDoItCmdBase.execute()
, then the issue disappears.Note that I'm extremely unexperienced with doit, so this may be user error. But the included files follow directly what is in the documentation (pyproject-toml, keywords on cmd-action string). So it may instead be a documentation problem instead of bug.
Environment
Upvote & Fund
The text was updated successfully, but these errors were encountered: