boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

Calling rflint with argumentfile succeeds but rflint is not actually run #86

Open pfctdayelise opened 4 years ago

pfctdayelise commented 4 years ago

Using RF 3.2.1 with Python 3.8.1 on Windows 10, rflint 1.1

Not sure what I am missing here. rflint accepts my argumentfile but doesn't seem to actually run rflint. If I run rflint with the arguments manually inserted, I get output (ie lint errors), but with the argumentfile I don't get any output.

(.venv) PS C:\Users\bjl\Workspace\robot-framework-skeleton> cat .\rflint.txt
--verbose
--recursive
tests
(.venv) PS C:\Users\bjl\Workspace\robot-framework-skeleton> rflint --verbose --recursive tests
+ tests\features\example.robot
E: 32, 0: No testcase documentation (RequireTestDocumentation)
E: 24, 0: No keyword documentation (RequireKeywordDocumentation)
+ tests\resources\common.resource
E: 30, 0: No keyword documentation (RequireKeywordDocumentation)
E: 34, 0: No keyword documentation (RequireKeywordDocumentation)
E: 40, 0: No keyword documentation (RequireKeywordDocumentation)
(.venv) PS C:\Users\bjl\Workspace\robot-framework-skeleton> echo $?
False
(.venv) PS C:\Users\bjl\Workspace\robot-framework-skeleton> rflint --argumentfile .\rflint.txt
(.venv) PS C:\Users\bjl\Workspace\robot-framework-skeleton> echo $?
True
emcek commented 3 years ago

same here at linux