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 Gutenprint < Package
source_url 'https://downloads.sourceforge.net/project/gimp-print/gutenprint-5.3/5.3.3/gutenprint-5.3.3.tar.xz'
source_sha256 '7279ecbc8e67d1858c53cb24e423ea1be98e214872006b79e6e03650dd54a072'
binary_url ({
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gutenprint/5.3.3_armv7l/gutenprint-5.3.3-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gutenprint/5.3.3_armv7l/gutenprint-5.3.3-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gutenprint/5.3.3_i686/gutenprint-5.3.3-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gutenprint/5.3.3_x86_64/gutenprint-5.3.3-chromeos-x86_64.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gutenprint/5.3.3_x86_64/gutenprint-5.3.3-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
binary_sha256({
aarch64: '881b8199d6167bcf0a8008cff249e6bf2a792d1711d10a302e7e853e2fecfb2f',
armv7l: '881b8199d6167bcf0a8008cff249e6bf2a792d1711d10a302e7e853e2fecfb2f',
i686: 'af03ca9c9904c2c5970aa89e4074c338ea525fd165c1872f3f473e4e43531379',
x86_64: '08e10a199a709b9078abaee3a3ccbfb380adfe68c411b7d824c7e143d8a67b5d',
x86_64: '08e10a199a709b9078abaee3a3ccbfb380adfe68c411b7d824c7e143d8a67b5d'
})
def self.build