Enable more rubocop cops (#9980)

* Remove self.check in python3.rb as tests were not actuallly being run

* Enable Lint/ImplicitStringConcatenation cop

* Enable Layout/CommentIndentation cop

* Remove unnecessary configuration of Layout/IndentationStyle to EnforcedStyle: spaces, as this is already the default

* Enable Layout/LeadingCommentSpace cop

* Enable Layout/SpaceInsideBlockBraces cop

* Enable Layout/SpaceInsideParens cop

* Enable Layout/TrailingEmptyLines cop

* Enable Lint/LiteralAsCondition cop

* Document the current issue stopping us from enabling Style/OptionalBooleanParameter

* Stop downloading our rubocop config when installing ruby_rubocop
This commit is contained in:
Maximilian Downey Twiss
2024-06-18 06:19:11 +10:00
committed by GitHub
parent fcb36066e2
commit 33901368d7
27 changed files with 54 additions and 118 deletions

View File

@@ -27,8 +27,8 @@ class Glibc_build223 < Package
})
def self.patch
# Patch to avoid old ld issue on glibc 2.23 by using ld configure
# portion from https://github.com/bminor/glibc/blob/master/configure
# Patch to avoid old ld issue on glibc 2.23 by using ld configure
# portion from https://github.com/bminor/glibc/blob/master/configure
@glibc_223_i686_patch = <<~'GLIBC_223_HEREDOC'
--- a/configure 2021-12-22 11:42:36.689574968 -0500
+++ b/configure 2021-12-22 11:58:43.052504544 -0500