-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Support Alternate Robotidy/Robocop Configuration File Name #343
Comments
Normally, if a I'm not entirely sure how this works with Robocop—whether a Currently, there’s no setting in RobotCode to specify which file Robocop should use. However, this could be implemented. Feel free to turn this question into an enhancement request. |
@d-biehl - you are correct. I am not sure of the specifics of how If however, it just analyzes all files at once (presumably starting at the project root), then it appears |
Yeah, that seems to be the case! Both the issue and the related one are still open. Right now, the only solution I see is using disablers for files where you want different settings. But this approach would require setting it up for each file individually, which isn’t ideal if you’re dealing with a lot of files. I’m currently in the process of reworking the entire static code analysis setup for RobotCode, one of the goals is to make it runnable directly from the command line. Part of this rework also includes rethinking how Robocop is integrated, so there's a chance to approach things differently here. It’d be great if you could share a bit more about what you’re looking to achieve or what requirements you have in mind. That way, I can get a clearer picture and see if we can incorporate those needs in the new setup. What’s your vision? |
Hi @d-biehl!
This may be an option...we will look into this...thank you.
We are creating a Robot Framework "library" which will have both "public" and "private" keywords in various The idea is to have a By the way, the same idea would apply to the formatter, Not sure if this makes sense. If you open to collaborators, I would be glad to help. Thanks for considering... |
I will chim in. I am currently working on merging two tools - Robotidy and Robocop into one (named Robocop). Also our interface changes. We dont have 'api' in new version as its not needed, thanks to improved architecture. But when I will be further into development I will think how other tools may use robocop more easily (if I didnt miss anything important etc). And side note - Robotidy should already support multiple configuration files (I reuse similar approach but improved upon it for new tool). |
Please describe.
I understand
robotcode
will use the closestpyproject.toml
file to find therobotidy
configuration. However, I prefer the.robotidy
configuration file name, which is also supported byrobotidy
.Similarly,
robocop
will use the closest.robocop
first, but will also accept apyproject.toml
as well, although it doesn't seem likerobotcode
doesn't support reading from a configurations file.Can this alternate file name be configured?
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: