Commit b8689852 authored by Leo's avatar Leo

remove line-above-80-chars

parent ccdf3598
CHANGES In 17.2:
- Remove line-above-80-chars [AL27], it was broken anyways
CHANGES in 17.1: CHANGES in 17.1:
- Update build system to install apkbuild-fixer - Update build system to install apkbuild-fixer
......
...@@ -282,9 +282,3 @@ Severity: Serious, Certainty: Certain ...@@ -282,9 +282,3 @@ Severity: Serious, Certainty: Certain
existed as a concept understood by abuild existed as a concept understood by abuild
Severity: Serious, Certainty: Certain Severity: Serious, Certainty: Certain
## line-above-80-chars [AL27]
A line has above 80 chars, hard-wrap it, if reasonable.
Severity: Minor, Certainty: Possible
...@@ -215,12 +215,6 @@ _builddir_is_set() { ...@@ -215,12 +215,6 @@ _builddir_is_set() {
fi fi
} }
line_above_80_chars() {
[ "$SKIP_LINE_ABOVE_80_CHARS" ] && return 0
[ "$SKIP_AL27" ] && return 0
scan '.{80}' 'hard-wrap at 80 chars' 'AL27' 'MP'
}
ret=0 ret=0
for apkbuild; do for apkbuild; do
if [ -f "$apkbuild" ]; then if [ -f "$apkbuild" ]; then
...@@ -247,8 +241,6 @@ for apkbuild; do ...@@ -247,8 +241,6 @@ for apkbuild; do
newline_opening_brace & newline_opening_brace &
pkgname_has_uppercase & pkgname_has_uppercase &
pkgver_has_pkgrel & pkgver_has_pkgrel &
# NOTE(Leo): Breaks 100% of packages due to sha512sums=, work around it
# line_above_80_chars &
# Don't perform these checks on packages from main # Don't perform these checks on packages from main
if ! [ -z "${apkbuild##*main/*}" ]; then if ! [ -z "${apkbuild##*main/*}" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment