Add Rubocop CI (#7083)

* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Maximilian Downey Twiss
2022-08-23 03:31:25 +10:00
committed by GitHub
parent 4c0f15a6f3
commit de24923ee8
1144 changed files with 7527 additions and 7515 deletions

View File

@@ -9,17 +9,17 @@ class Libnsgif < Package
source_url 'https://download.netsurf-browser.org/libs/releases/libnsgif-0.2.1-src.tar.gz'
source_sha256 '9eaea534cd70b53c5aaf45317ae957701685a6b4a88dbe34ed26f4faae879a4b'
binary_url ({
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libnsgif/0.2.1_armv7l/libnsgif-0.2.1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libnsgif/0.2.1_armv7l/libnsgif-0.2.1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libnsgif/0.2.1_i686/libnsgif-0.2.1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libnsgif/0.2.1_x86_64/libnsgif-0.2.1-chromeos-x86_64.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libnsgif/0.2.1_x86_64/libnsgif-0.2.1-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
binary_sha256({
aarch64: 'd5157c5ebd4efe5049238558b3613306d2c8390bcf52a5c09b0132a225890756',
armv7l: 'd5157c5ebd4efe5049238558b3613306d2c8390bcf52a5c09b0132a225890756',
i686: '2021197bd230a09a34bb9a8c32a2b346e87850cc5ae738ac10a616f0833f6d94',
x86_64: '41bfd7be6e7742e100579977829b2eb09ad26ebb204609ea438422357fa9d02c',
x86_64: '41bfd7be6e7742e100579977829b2eb09ad26ebb204609ea438422357fa9d02c'
})
depends_on 'netsurf_buildsystem' => :build