Skip to content

Commit 189431f

Browse files
committed
tidy all files
The tests are currently only applied to a subset of files, but in the future we will be using precious against all files. Remove gitignore sorting from the tidyall config. It uses a different sorting algorithm than what we will be using in the future with precious. Once we fully transition to precious, the order will be checked again. But for now it isn't a high priority.
1 parent d8b27fc commit 189431f

File tree

7 files changed

+17
-20
lines changed

7 files changed

+17
-20
lines changed

.gitignore

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
*.komodoproject
2-
*.kpf
3-
*.sqlite*
4-
*.sw*
5-
.DS_Store
6-
.tidyall.d
71
/MYMETA.*
82
/Makefile
93
/Makefile.old
104
/blib
115
/cover_db/
12-
/etc/metacpan_local.pl
136
/local/
147
/log4perl_local.conf
158
/metacpan_server_local.conf
169
/perltidy.LOG
1710
/pm_to_blib
11+
/var
12+
/etc/metacpan_local.pl
1813
/t/var/darkpan/
1914
/t/var/log/
2015
/t/var/tmp/
21-
/var
16+
*.komodoproject
17+
*.kpf
18+
*.sqlite*
19+
*.sw*
20+
.DS_Store
21+
.tidyall.d

bin/unlisted_prereqs.pl

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
use strict;
77
use warnings;
8-
use Perl::PrereqScanner 1.014;
9-
use CPAN::Meta::Requirements ();
10-
use File::Find::Rule::Perl;
11-
use List::Util qw( sum );
8+
use Perl::PrereqScanner 1.014 ();
9+
use CPAN::Meta::Requirements ();
10+
use File::Find::Rule::Perl ();
11+
use List::Util qw( sum );
1212
use version 0.77;
1313

1414
# TODO: use CPAN::Meta::Prereqs

etc/metacpan.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# do not edit this file
22
# create etc/metacpan_local.pl instead
3-
use FindBin;
3+
use FindBin ();
44

55
{
66
# ElasticSearch instance, can be either a single server

improve-search-results/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# carton/local::lib
21
/local/
2+
# carton/local::lib

perlimports.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# preserve_unused disabled.
1111

1212
cache = false # setting this to true is currently discouraged
13-
ignore_modules = ["Catalyst::Runtime","Module::Pluggable", "namespace::clean", "Test::More", "Type::Library", "With::Roles"]
13+
ignore_modules = ["Catalyst::Runtime","Module::Pluggable", "namespace::clean", "Test::More", "Type::Library", "With::Roles", "File::Find::Rule::Perl"]
1414
ignore_modules_filename = ""
1515
ignore_modules_pattern = "" # regex like "^(Foo|Foo::Bar)"
1616
ignore_modules_pattern_filename = ""

t/lib/MetaCPAN/Server/Test.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package MetaCPAN::Server::Test;
33
use strict;
44
use warnings;
55

6-
use HTTP::Request::Common qw( DELETE GET POST );
6+
use HTTP::Request::Common qw( DELETE GET POST ); ## no perlimports
77
use MetaCPAN::Server ();
8-
use Plack::Test qw( test_psgi );
8+
use Plack::Test qw( test_psgi ); ## no perlimports
99
use Test::More;
1010

1111
use base 'Exporter';

tidyall.ini

-3
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,5 @@ ignore = lib/MetaCPAN/Server/View/Pod.pm
6060
ignore = lib/MetaCPAN/Util.pm
6161
ignore = lib/Plack/Session/Store/ElasticSearch.pm
6262

63-
[SortLines]
64-
select = .gitignore
65-
6663
[UniqueLines]
6764
select = .gitignore

0 commit comments

Comments
 (0)