<commit_before># ----- ENABLED -----

AccessModifierIndentation:
  Enabled: true
  EnforcedStyle: outdent

Alias:
  Enabled: true

AndOr:
  Enabled: true

AssignmentInCondition:
  Enabled: true

Blocks:
  Enabled: true

CaseEquality:
  Enabled: true

# Inject is omitted here, at least for the time being.
CollectionMethods:
  Enabled: true
  PreferredMethods:
    collect: 'map'
    collect!: 'map!'
    detect: 'find'
    find_all: 'select'

TrailingBlankLines:
  Enabled: true

TrailingWhitespace:
  Enabled: true

ColonMethodCall:
  Enabled: true

ConstantName:
  Enabled: true

DefWithoutParentheses:
  Enabled: true



# ----- DISABLED (hard) -----

# Ruby 1.8 compatibility is required.
#
# Re-enable in nanoc 4.x.
HashSyntax:
  Enabled: false

# We should embrace UTF-8, not avoid it. Since the Encoding cop is enabled,
# there’s no point in enforcing ASCII comments.
AsciiComments:
  Enabled: false

# Hash parameters should not have braces, but this cop is unable to distinguish
# between has parameters and methods that take a hash as a param.
BracesAroundHashParameters:
  Enabled: false



# ----- DISABLED (opinionated) -----

# Parameters are indented one soft tab instead.
AlignParameters:
  Enabled: false

# This does not accomodate for code such as
#
# foo = case blah
#   when x
#     …
#   end
CaseIndentation:
  Enabled: false

# Personal convention is to use “memo” and an appropriate name for the element.
SingleLineBlockParams:
  Enabled: false

# Mostly long hardcoded strings which I’d rather not break up (yet).
#
# Re-enable in nanoc 4.x.
LineLength:
  Enabled: false

# Other tools exist for checking code quality. This cop is probably good to
# have, but nanoc 3.x will not get any major refactorings anymore anyway.
#
# Possibly re-enable in nanoc 4.x.
ClassLength:
  Enabled: false

# Only used for deprecated code that is gone in nanoc 4.x anyway.
#
# Re-enable in nanoc 4.x.
ClassVars:
  Enabled: false

# Personal convention is to use colon-less annotations.
CommentAnnotation:
  Enabled: false

# Other tools exist for checking code quality. This cop is probably good to
# have, but nanoc 3.x will not get any major refactorings anymore anyway.
#
# Possibly re-enable in nanoc 4.x.
CyclomaticComplexity:
  Enabled: false

# It does not make sense to enforce everything to have documentation.
Documentation:
  Enabled: false



# ----- TO ENABLE LATER -----

DotPosition:
  Enabled: false

EmptyLineBetweenDefs:
  Enabled: false

EmptyLinesAroundBody:
  Enabled: false

EmptyLiteral:
  Enabled: false

EndAlignment:
  Enabled: false

Eval:
  Enabled: false

EvenOdd:
  Enabled: false

FavorSprintf:
  Enabled: false

FavorUnlessOverNegatedIf:
  Enabled: false

HandleExceptions:
  Enabled: false
<commit_msg>Disable DotPosition cop<commit_after># ----- ENABLED -----

AccessModifierIndentation:
  Enabled: true
  EnforcedStyle: outdent

Alias:
  Enabled: true

AndOr:
  Enabled: true

AssignmentInCondition:
  Enabled: true

Blocks:
  Enabled: true

CaseEquality:
  Enabled: true

# Inject is omitted here, at least for the time being.
CollectionMethods:
  Enabled: true
  PreferredMethods:
    collect: 'map'
    collect!: 'map!'
    detect: 'find'
    find_all: 'select'

TrailingBlankLines:
  Enabled: true

TrailingWhitespace:
  Enabled: true

ColonMethodCall:
  Enabled: true

ConstantName:
  Enabled: true

DefWithoutParentheses:
  Enabled: true



# ----- DISABLED (hard) -----

# Ruby 1.8 compatibility is required.
#
# Re-enable in nanoc 4.x.
HashSyntax:
  Enabled: false

# We should embrace UTF-8, not avoid it. Since the Encoding cop is enabled,
# there’s no point in enforcing ASCII comments.
AsciiComments:
  Enabled: false

# Hash parameters should not have braces, but this cop is unable to distinguish
# between has parameters and methods that take a hash as a param.
BracesAroundHashParameters:
  Enabled: false



# ----- DISABLED (opinionated) -----

# Parameters are indented one soft tab instead.
AlignParameters:
  Enabled: false

# This does not accomodate for code such as
#
# foo = case blah
#   when x
#     …
#   end
CaseIndentation:
  Enabled: false

# Personal convention is to use “memo” and an appropriate name for the element.
SingleLineBlockParams:
  Enabled: false

# Mostly long hardcoded strings which I’d rather not break up (yet).
#
# Re-enable in nanoc 4.x.
LineLength:
  Enabled: false

# Other tools exist for checking code quality. This cop is probably good to
# have, but nanoc 3.x will not get any major refactorings anymore anyway.
#
# Possibly re-enable in nanoc 4.x.
ClassLength:
  Enabled: false

# Only used for deprecated code that is gone in nanoc 4.x anyway.
#
# Re-enable in nanoc 4.x.
ClassVars:
  Enabled: false

# Personal convention is to use colon-less annotations.
CommentAnnotation:
  Enabled: false

# Other tools exist for checking code quality. This cop is probably good to
# have, but nanoc 3.x will not get any major refactorings anymore anyway.
#
# Possibly re-enable in nanoc 4.x.
CyclomaticComplexity:
  Enabled: false

# It does not make sense to enforce everything to have documentation.
Documentation:
  Enabled: false

# Personal preference is putting the dot at the end of the line, so the reader
# knows that the expression does not end on this line.
DotPosition:
  Enabled: false



# ----- TO ENABLE LATER -----

EmptyLineBetweenDefs:
  Enabled: false

EmptyLinesAroundBody:
  Enabled: false

EmptyLiteral:
  Enabled: false

EndAlignment:
  Enabled: false

Eval:
  Enabled: false

EvenOdd:
  Enabled: false

FavorSprintf:
  Enabled: false

FavorUnlessOverNegatedIf:
  Enabled: false

HandleExceptions:
  Enabled: false

{'fraction_non_alphanumeric': 0.07776988636363637, 'fraction_numerical': 0.00390625, 'mean_word_length': 3.6592224979321752, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '167779', 'n_tokens_mistral': 1846, 'n_tokens_neox': 1692, 'n_words': 687}