Name : perl-Test-Whitespaces
| |
Version : 1.2.1
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 19:15:51
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-Whitespaces-1.2.1-lp156.1.1.src.rpm
|
Size : 0.05 MB
| |
Packager : https://www_suse_com/
| |
Summary : Test source code for errors in whitespaces
|
Description :
This module is intend to solve one simple task: to make sure that your source code don\'t have problems with whitespaces.
This module checks that all the rules are followed.
* * Each line ends with \"\ \" (including the last line)
* * For new lines \"\ \" is used (not \"\\r\ \")
* * There are no ending spaces on the lines
* * 4 spaces are used instead of tabs
* * No empty lines in the end of file
This module don\'t export any subroutines, you only need to write a test file and write there:
use Test::Whitespaces { dirs => [\'lib\'] };
Here is the full list of all avaliable parameters:
use Test::Whitespaces {
dirs => [ \'lib\', \'bin\', \'t\' ],
files => [ \'README\' ],
ignore => [ qr{\\.bak$} ],
};
This module does not check the files that are stored in the version control system directories (you remember, that .git, .svn and friends).
This module is shiped with 2 scripts. `the test_whitespaces manpage` to easy check files and directories and `the whiter manpage` to fix all that errors.
And by the way, this module don\'t have any dependencies, but Perl. It does not matter much, but it is nice =)
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |