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 Diy < Package
source_url 'https://github.com/diatomic/diy/archive/3.5.0.tar.gz'
source_sha256 'b3b5490441d521b6e9b33471c782948194bf95c7c3df3eb97bc5cf4530b91576'
binary_url ({
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/diy/3.5.0_armv7l/diy-3.5.0-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/diy/3.5.0_armv7l/diy-3.5.0-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/diy/3.5.0_i686/diy-3.5.0-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/diy/3.5.0_x86_64/diy-3.5.0-chromeos-x86_64.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/diy/3.5.0_x86_64/diy-3.5.0-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
binary_sha256({
aarch64: '1f7e1d0b9c3f4c3675a243ad85082057be425544a1e2a84eb7bd0a1c1f5f059d',
armv7l: '1f7e1d0b9c3f4c3675a243ad85082057be425544a1e2a84eb7bd0a1c1f5f059d',
i686: 'dbfcfab6e452536ccedb176f659e031fdc4e08f5fa8bc6e57d19247bffcd7dca',
x86_64: '154c20b27c6bccbd7cc1dfb392e9946f09648888847a10141a3374df08ad29bb',
x86_64: '154c20b27c6bccbd7cc1dfb392e9946f09648888847a10141a3374df08ad29bb'
})
depends_on 'openmpi'