-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1244 from metacpan/oalders/perlimports-ii
Apply perlimports to ./t
- Loading branch information
Showing
71 changed files
with
202 additions
and
145 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
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,25 @@ | ||
# Valid log levels are: | ||
# debug, info, notice, warning, error, critical, alert, emergency | ||
# critical, alert and emergency are not currently used. | ||
# | ||
# Please use boolean values in this config file. Negated options (--no-*) are | ||
# not permitted here. Explicitly set options to true or false. | ||
# | ||
# Some of these values deviate from the regular perlimports defaults. In | ||
# particular, you're encouraged to leave preserve_duplicates and | ||
# preserve_unused disabled. | ||
|
||
cache = false # setting this to true is currently discouraged | ||
ignore_modules = ["Catalyst::Runtime","Module::Pluggable", "namespace::clean", "Test::More", "Type::Library", "With::Roles"] | ||
ignore_modules_filename = "" | ||
ignore_modules_pattern = "" # regex like "^(Foo|Foo::Bar)" | ||
ignore_modules_pattern_filename = "" | ||
libs = ["lib", "t/lib"] | ||
log_filename = "" | ||
log_level = "warn" | ||
never_export_modules = [] | ||
never_export_modules_filename = "" | ||
padding = true | ||
preserve_duplicates = false | ||
preserve_unused = false | ||
tidy_whitespace = true |
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,44 @@ | ||
excludes = [ | ||
".build/**", | ||
"blib/**", | ||
"root/assets/**", | ||
] | ||
|
||
[commands.perlimports] | ||
type = "both" | ||
include = [ "**/*.{pl,pm,t,psgi}" ] | ||
cmd = [ "perlimports" ] | ||
lint-flags = ["--lint" ] | ||
tidy-flags = ["-i" ] | ||
ok-exit-codes = 0 | ||
expect-stderr = true | ||
|
||
[commands.perlcritic] | ||
type = "lint" | ||
include = [ "**/*.{pl,pm,t,psgi}" ] | ||
cmd = [ "perlcritic", "--profile=$PRECIOUS_ROOT/.perlcriticrc" ] | ||
ok-exit-codes = 0 | ||
lint-failure-exit-codes = 2 | ||
|
||
[commands.perltidy] | ||
type = "both" | ||
include = [ "**/*.{pl,pm,t,psgi}" ] | ||
cmd = [ "perltidy", "--profile=$PRECIOUS_ROOT/.perltidyrc" ] | ||
lint-flags = [ "--assert-tidy", "--no-standard-output", "--outfile=/dev/null" ] | ||
tidy-flags = [ "--backup-and-modify-in-place", "--backup-file-extension=/" ] | ||
ok-exit-codes = 0 | ||
lint-failure-exit-codes = 2 | ||
ignore-stderr = "Begin Error Output Stream" | ||
|
||
[commands.omegasort-gitignore] | ||
type = "both" | ||
include = "**/.gitignore" | ||
cmd = [ "omegasort", "--sort", "path", "--unique" ] | ||
lint-flags = "--check" | ||
tidy-flags = "--in-place" | ||
ok-exit-codes = 0 | ||
lint-failure-exit-codes = 1 | ||
ignore-stderr = [ | ||
"The .+ file is not sorted", | ||
"The .+ file is not unique", | ||
] |
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.