```args: [ '-S-encoding', '-SUTF-8', '-S-g...
# general
w
Copy code
args: [
    '-S-encoding', '-SUTF-8',
    '-S-g:vars',
    # TODO: added to fix SI-8337 and SI-7291
    '-S-Xdivergence211',
    # see <https://reviewboard.twitter.biz/r/446503/>
    '-S-language:higherKinds',

    # This is intentionally in the default args section: never warn for generated files.
    '-file-filter', '/\.pants\.d/gen/',
    # Ditto: Suppress the warning for annotations with no processor.
    '-msg-filter', '^(warning: )?No processor claimed any of these annotations: .*'
  ]
warning_args: [
    '-S-deprecation',
    '-S-unchecked',
    # request warnings for <http://www.scala-lang.org/api/2.10.4/index.html#scala.language$>
    '-S-feature',
    '-S-Xlint',
    '-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
    '-C-deprecation',
  ]
no_warning_args: [
    '-S-nowarn',
    '-C-Xlint:none',
    '-C-nowarn',
  ]