Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Disable Metrics/BlockLength
Browse files Browse the repository at this point in the history
  • Loading branch information
floriandejonckheere committed Apr 27, 2024
1 parent ff80a15 commit c269cb6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ Metrics/AbcSize:
Enabled: false

Metrics/BlockLength:
Exclude:
- "*.gemspec"
- spec/**/*.rb
Enabled: false

Metrics/ClassLength:
Enabled: false
Expand Down
1 change: 0 additions & 1 deletion lib/mosaik/graph/graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def to_csv
# Set of visited edges (to avoid duplicates in undirected graphs)
visited = Set.new

# rubocop:disable Metrics/BlockLength
CSV.generate do |csv|
# PREAMBLE
# Collect all graph attributes
Expand Down

0 comments on commit c269cb6

Please sign in to comment.