ducminh-phan / reformat-gherkin

Formatter for Gherkin language
MIT License
24 stars 13 forks source link

Allow formatting tags on a single line #26

Closed rayjolt closed 4 years ago

rayjolt commented 4 years ago

Add a --single-line-tags option, which causes consecutive tags to be output on a single line. Also add a --multi-line-tags option to explicitly specify the current default behaviour of outputting one tag per line.

When the --single-line-tags option is specified, tags separated by comments are merged into one line, as discussed in issue #22.

rayjolt commented 4 years ago

Hm, maybe Codacy is right here. I'll see if the type check in question can be done with isinstance instead.

ducminh-phan commented 4 years ago

Close in favour of #29