robotidy --list output bug? #536
Replies: 2 comments 3 replies
-
Hi, somehow I didn't see this discussion at all.. so I apologise for late reply. You're right, it's doesn't look it works correctly.. it certainly accept configuration from the cli (so running And I will think about way of generating configuration file with the default settings (so it's easy to reuse it enable/disable transformers or see what options are available). |
Beta Was this translation helpful? Give feedback.
-
I matched the same problem as @szantotomi Additionally using --config is not working well. Only the pyproject.toml works... |
Beta Was this translation helpful? Give feedback.
-
Hello!
If I get it right, the robotidy --list command should print the enabled/disabled transformers based on the currently valid config (from my pyproject.toml file, for example.
If this is right, then there is some bug around :)
Thankfully, i've found in that other discussion that a complete config was linked, so that was used as a baseline (basically it's the same that i had before).
There, I've disabled a transformer by updating to "DiscardEmptySections:enabled=False"
Still, the output of robotidy --list shows this:
┏━━━━━━━━━━━━━━━
┃ Name ┃ Enabled ┃
┡━━━━━━━━━━━━━━
│ AddMissingEnd │ Yes │
│ NormalizeSeparators │ Yes │
│ DiscardEmptySections │ Yes │
...
However in fact, the transformer is really disabled as my "sandbox" code is not touched when robotidy is executed.
Beta Was this translation helpful? Give feedback.
All reactions