Skip to content

Is it possible to disable robotidy for file extensions capitalisation? #724

Answered by bhirsz
piyushasaran12 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks. Additional question: is this email / file name a 'normal' argument or embedded argument? For example:

    # normal
    Input Email And Validate    [email protected]
    # embedded
    Input Email [email protected] And Validate
    

It looks like embedded argument - which can't be easily detected by robotidy and when encountered, is considered as 'keyword name'. That with combination of using RenameKeywords may lead to renaming arguments.

Possible solutions:

  1. Do not use RenameKeywords transformer (you will lose feature of renaming keywords but arguments should not be renamed any longer)
  2. Disable robotidy only for particular line where it causes issues:
    Input email '[email protected]' …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bhirsz
Comment options

Answer selected by piyushasaran12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants