diff options
| author | Ibrahim Awwal <ibrahim@volition.co> | 2025-12-10 15:52:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-10 15:52:02 -0800 |
| commit | fa5cb9b1d62a63f59e48649e478284d9fd6bb339 (patch) | |
| tree | 30f23aced409a8990c85dfd36d143907a19e4f00 /test/formatters | |
| parent | 35ebd1b65291483fded1cb939cccfe28c9116782 (diff) | |
Pass --force-exclusion to rubocop (#380)
This make rubocop obey exclusions from config files. Otherwise, even if
a file is excluded from in .rubocop.yml, apheleia will still format it.
See
https://docs.rubocop.org/rubocop/usage/basic_usage.html#command-line-flags
Diffstat (limited to 'test/formatters')
| -rw-r--r-- | test/formatters/samplecode/rubocop/out.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/formatters/samplecode/rubocop/out.rb b/test/formatters/samplecode/rubocop/out.rb index a677a10..1edea74 100644 --- a/test/formatters/samplecode/rubocop/out.rb +++ b/test/formatters/samplecode/rubocop/out.rb @@ -1,7 +1,8 @@ d = [30_644_250_780, 9_003_106_878, 30_636_278_846, 66_641_217_692, 4_501_790_980, 67_124_603_036, 13_161_973_916, 66_606_629_920, - 30_642_677_916, 30_643_069_058]; a = [] + 30_642_677_916, 30_643_069_058] +a = [] s = $*[0] s.each_byte do |b| a << ('%036b' % d[b |
