This is an automated email from the git hooks/post-receive script. fsfs pushed a commit to annotated tag release/0.12-TRIAL in repository libhtml-scrubber-perl.
commit 07db3e1560b32d65fabf9f197df363a03e170b68 Author: Nigel Metheringham <[email protected]> Date: Sat Mar 14 17:58:06 2015 +0000 Applied my standard tidy/ignore settings --- .gitignore | 40 +++++++++++++++++++++++++++++++--------- .perltidyrc | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .tidyallrc | 13 +++++++++++++ 3 files changed, 100 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 27f3059..c6d9fea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1,38 @@ +# avoid version control files. +.git + +# avoid temp and backup files. +*~ +*# +*.bak +*.old +*.rej +*.swp +*.tmp +.DS_Store + +# avoid utility files +.build +_build + +# avoid compiled gettext files +*.mo + +# avoid archives of this distribution +HTML-Scrubber-* + +# stuff thats part of the build blib* Makefile -Makefile.old Build Build.bat _build* pm_to_blib* -*.tar.gz -.lwpcookies -cover_db +META.yml +tmp +.tidyall.d pod2htm*.tmp -HTML-Scrubber-* -inc -META.* -*.bak -.build + +# Carton packaging stuff +local + diff --git a/.perltidyrc b/.perltidyrc new file mode 100644 index 0000000..7727996 --- /dev/null +++ b/.perltidyrc @@ -0,0 +1,56 @@ +--maximum-line-length=120 +##--trim-qw +#---------------- PBP options, as listed on page 35 of PBP ---------------- +##-l=78 # Max line width is 78 cols +-i=4 # Indent level is 4 cols +-ci=4 # Continuation indent is 4 cols +-vt=2 # Maximal vertical tightness +-cti=0 # No extra indentation for closing brackets +-pt=1 # Medium parenthesis tightness +-sbt=1 # Medium square bracket tightness +-bt=1 # Medium brace tightness (for non-code blocks) +-bbt=1 # Medium block brace tightness (for code blocks) +-nsfs # No space before semicolons +-nolq # Don't outdent long quoted strings + # Break before all operators: +-wbb="% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" +# Note that the PBP book has a typo on page 35 when defining the above -wbb +# option, see http://oreilly.com/catalog/perlbp/errata/perlbp.confirmed +# The above string is correct. + +#---------- Perltidy default options (i.e. in line with PBP) -------------- +-asc # Add any missing optional semicolon at the end of a line +-aws # Add certain whitespace to improve code readability +-tqw # Default handling of multi-line 'qw' quotes +-ibc # Indent block comments to same level as the code +-msc=4 # Minimum 4 spaces between code and same-line comments +-fpsc=0 # Don't try to line up all comments to a fixed column +-hsc # Align hanging side comments +-sbc # Enable static block comments +-nssc # No special handling for static side comments +-dnl # Delete old newlines +-bbc # Ensure a blank line before every full-line comment +-bbs # Ensure a blank line before every sub definition (except one-liners) +-bbb # Ensure a blank line before code blocks (for, while, if, ....) +-lbl=8 # Minimum number of lines between each -bbb inserted blank line + +#------------- Additional options, based on PBP recommendations ------------ +-bar # K&R style code braces +-nolc # Long comments indented, even when this make the total line length "too long" +-noll # Long lines indented, even when this make the total line length "too long" +-nola # Don't treat labels as special cases when indenting + +#---------- Options concerning Perltidy's input and ouput files ----------- +##-nst # Do NOT output to STDOUT (since we want to use -b) +##-b # Backup the input file to .bak and perform all tidying in the original file +##-se # Write errors to STDERR +##-ple # Preserve the EOL character(s). E.g. in case Perltidy runs +## # on Windows, but processes a Perl file for Unix (and vice versa) + +#----------- Some other Perltidy options, intentionally not used ---------- +# The following Perltidy options are NOT consistent with PBP and should NOT be used: +# -lp, -icb, -fws, -nwls, -nwrs, -sfp, -sak/-nsak, -csc/dcsc, -fnl, +# -ce, -bl, -sbl, -bli, -blil, -bbvt, -otr, -sct, -boc, -kis, +# -pbp (because the -wbb list typo in the PBP book carried over to Perltidy (!)) +# The following Perltidy options are not used, for other reasons: +# -sot, -mft, -cab, -bol, -bok/-nbok, -bot/-nbot, -iob, -isbc diff --git a/.tidyallrc b/.tidyallrc new file mode 100644 index 0000000..1e0d8ed --- /dev/null +++ b/.tidyallrc @@ -0,0 +1,13 @@ +[PerlTidy] +argv = --profile=$ROOT/.perltidyrc +select = **/*.{pl,pm,t} + +[PodTidy] +select = **/*.{pl,pm,pod} + +[PerlCritic] +select = **/*.{pl,pm} +except_modes = editor + +[Perl::AlignMooseAttributes] +select = **/*.{pl,pm,t} -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-scrubber-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
