<commit_before>import com.socrata.sbtplugins.StylePlugin.StyleKeys._
import sbt.Keys._
import sbt._

object BuildSettings {
  def buildSettings: Seq[Setting[_]] =
    spray.revolver.RevolverPlugin.Revolver.settings ++
    Defaults.itSettings ++
      Seq(
        // TODO: enable coverage minimum
        scoverage.ScoverageSbtPlugin.ScoverageKeys.coverageFailOnMinimum := false,
        // TODO: enable style checks
        styleCheck in Test := {},
        styleCheck in Compile := {},
        scalaVersion := "2.10.4",

        resolvers += "velvia maven" at "http://dl.bintray.com/velvia/maven"
      )

  def projectSettings(assembly: Boolean = false): Seq[Setting[_]] =
    buildSettings
}<commit_msg>Speed up assembly by disabling assembly for projects that don't need it<commit_after>import com.socrata.sbtplugins.StylePlugin.StyleKeys._
import sbt.Keys._
import sbt._
import sbtassembly.AssemblyKeys

object BuildSettings {
  def buildSettings: Seq[Setting[_]] =
    spray.revolver.RevolverPlugin.Revolver.settings ++
    Defaults.itSettings ++
      Seq(
        // TODO: enable coverage minimum
        scoverage.ScoverageSbtPlugin.ScoverageKeys.coverageFailOnMinimum := false,
        // TODO: enable style checks
        styleCheck in Test := {},
        styleCheck in Compile := {},
        scalaVersion := "2.10.4",

        resolvers += "velvia maven" at "http://dl.bintray.com/velvia/maven"
      )

  def projectSettings(assembly: Boolean = false): Seq[Setting[_]] =
    buildSettings ++
    (if (!assembly) Seq(AssemblyKeys.assembly := file(".")) else Nil)
}
{'fraction_non_alphanumeric': 0.1160431198478123, 'fraction_numerical': 0.0050729232720355105, 'mean_word_length': 3.1856763925729443, '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': '213245', 'n_tokens_mistral': 487, 'n_tokens_neox': 466, 'n_words': 105}