-
Hi, I wanted to know how to properly load an external transformer by setting the transformer inside the pyproject.toml file? This is my project file: [tool.robotidy]
load-transformers = [".robotidy/examples_transformer.py"] But when I tries to run robotics, I got the following error: > robotidy file.robot
Usage: robotidy [OPTIONS] [PATH(S)]
Try 'robotidy -h' for help.
╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ No such option: load_transformers │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Thanks ! |
Beta Was this translation helpful? Give feedback.
Answered by
bhirsz
Sep 7, 2023
Replies: 1 comment 2 replies
-
Please try "custom_transformers". It looks like after one of the configuration handling refactor I left two different names but config file parser only uses one. I need to fix it - do you want to create bug ticket for it? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jaudiger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please try "custom_transformers". It looks like after one of the configuration handling refactor I left two different names but config file parser only uses one. I need to fix it - do you want to create bug ticket for it?