gemfile: Gemfile

PreCommit:
  ExecutePermissions:
    enabled: true
    exclude:
      - 'bin/gerrit'

  HardTabs:
    enabled: true

  RuboCop:
    enabled: true
    command: ['bundle', 'exec', 'rubocop']

  TrailingWhitespace:
    enabled: true

  YamlSyntax:
    enabled: true

# Run Overcommit within a Bundler context using this repo's Gemfile
gemfile: Gemfile

PreCommit:
  ExecutePermissions:
    enabled: true
    exclude:
      - 'bin/gerrit'

  HardTabs:
    enabled: true

  RuboCop:
    enabled: true

  TrailingWhitespace:
    enabled: true

  YamlSyntax:
    enabled: true

Remove `bundle exec` command overrides for Overcommit
Remove `bundle exec` command overrides for Overcommit

These are no longer necessary since we execute Overcommit within a
Bundler context thanks to the `gemfile` option.
