-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting summary & verbose output (#608)
- Loading branch information
Showing
3 changed files
with
105 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
More verbose output (#572) | ||
--------------------------- | ||
|
||
Robotidy output is now more verbose. If the file is formatted (or would be formatted if not for | ||
``--check`` or ``--no-overwrite options) the file path and run summary is displayed: | ||
``` | ||
> robotidy --check . | ||
Would reformat D:\test_repository\resources\db_keywords.resource file | ||
Would reformat D:\test_repository\tests\ui\login.robot file | ||
|
||
2 files would be reformatted, 112 files would be left unchanged. | ||
``` | ||
|
||
``` | ||
> robotidy . | ||
Formatting D:\test_repository\resources\db_keywords.resource file | ||
Formatting D:\test_repository\tests\ui\login.robot file | ||
|
||
2 files reformatted, 112 files left unchanged. | ||
``` | ||
|
||
``` | ||
> robotidy --verbose . | ||
Found D:\test_repository\resources\ui_keywords.resource file | ||
Found (...) | ||
Formatting D:\test_repository\resources\db_keywords.resource file | ||
Found (...) | ||
Formatting D:\test_repository\tests\ui\login.robot file | ||
Found (...) | ||
|
||
2 files reformatted, 112 files left unchanged. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters