MarketSquare / MarketSquare/robotframework-tidy

More configurable separators in NormalizeSeparators

Open
#637 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
RobotFramework
Stars
113
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Allow to configure how some separators behaves, for example FOR:

```
FOR ${var} ${var2} IN ZIP @{list1} @{list2}

END
```

uses 4 spaces by default for FOR arguments where it could use 2. Same goes for keyword arguments, tags etc. It could be possible to configure some separators to create more concise output.

Refer to RF coding style guide for inspiration what could be configurable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading NormalizeSeparators and the referenced Robot Framework coding style guide to identify which separator rules should be configurable. Done means the formatter can configure separators for FOR arguments and the other named constructs, producing the requested concise output.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.