question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: add a check ensuring the minimum spacing between keyword & arguments

See original GitHub issue

Example of error currently detected by Visual Studio Intellisense: MicrosoftTeams-image (3)

Could robotframework-robocop be able to detect this issue?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mnojekcommented, Aug 30, 2022

Hey @Lucas-C, thanks for your interest in Robocop. Similar request as in #687 - we do not plan to implement such features. They go beyond what a “linter tool” is. Closing as not planned.

1reaction
Gadzycommented, Aug 31, 2022

@bhirsz Thank you for this clear explanation.

given how Robot Framework is flexible and allows you to input whole sentences as keywords

This is the difficulty I missed.

Could dealing with known keywords (both standard and those exposed by imported libraries) be technically done in a way robocop detects the kind of error aforementioned ?

it’s actually interesting that it didn’t detect this problem because normally it should

Agreed. I opened a robotframework issue.

Would you have an example on how to create a custom rules that would report this problem with a “Click Element” keyword please?

+1 for custom rules example.

Read more comments on GitHub >

github_iconTop Results From Across the Web

add a check ensuring the minimum spacing between keyword ...
Feature request : add a check ensuring the minimum spacing between keyword & arguments.
Read more >
python - TypeError: __init__() got an unexpected keyword ...
Based on the comments, you're running Django 4.0 with an old version of AllAuth. So you just need to update AllAuth and should...
Read more >
Add keyword-argument to no-space-check option #1368
This is a feature request. Currently "no-space-check" option accepts "dict-separator" to allow spaces beside ":" # valid { "a": ".
Read more >
argparse — Parser for command-line options, arguments and ...
All parameters should be passed as keyword arguments. ... If you wish to preserve multiple blank lines, add spaces between the newlines.
Read more >
Robot Framework User Guide
The most common approach to create Robot Framework data is using the space separated format where pieces of the data, such as keywords...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found