<commit_before>import sbt._
import Keys._

object build extends Build {
  type Sett = Def.Setting[_]

  val pirate = Project(
    id = "pirate"
  , base = file(".")
  , settings = Defaults.coreDefaultSettings ++ publishSettings ++ Seq[Sett](
      name := "pirate"
    , organization := "io.mth"
    , version := "1.0-M1"
    , scalaVersion := "2.11.2"
    , crossScalaVersions := Seq("2.10.4", scalaVersion.value)
    , scalacOptions := Seq(
        "-deprecation"
      , "-unchecked"
      , "-feature"
      , "-language:_"
      , "-Ywarn-value-discard"
      , "-Xlint"
      )
    , libraryDependencies ++= Seq(
        "org.scalaz" %% "scalaz-core" % "7.1.0"
      , "org.scalaz" %% "scalaz-effect" % "7.1.0"
      , "org.scalaz" %% "scalaz-scalacheck-binding" % "7.1.0"
      , "org.specs2" %% "specs2-core" % "2.4" % "test"
      , "org.specs2" %% "specs2-scalacheck" % "2.4" % "test"
      ) ++ (
        if (scalaVersion.value.contains("2.10")) Seq("com.chuusai"  % s"shapeless_${scalaVersion.value}" % "2.0.0")
        else                                     Seq("com.chuusai" %% s"shapeless"                       % "2.0.0")
      )
    )
  )

  lazy val publishSettings = Seq(
    publishMavenStyle := true
    , publishArtifact in Test := false
    , pomIncludeRepository := { _ => false }
    , licenses := Seq("BSD-3-Clause" -> url("http://www.opensource.org/licenses/BSD-3-Clause"))
    , homepage := Some(url("https://github.com/markhibberd/pirate"))
    , publishTo <<= version.apply(v => {
      val nexus = "https://oss.sonatype.org/"
      if (v.trim.endsWith("SNAPSHOT"))
        Some("oss snapshots" at nexus + "content/repositories/snapshots")
      else
        Some("oss releases"  at nexus + "service/local/staging/deploy/maven2")
    })

    , pomExtra := (
      <scm>
        <url><EMAIL>:markhibberd/pirate.git</url>
        <connection>scm:git:git@github.com:markhibberd/pirate.git</connection>
      </scm>
      <developers>
        <developer>
          <id>mth</id>
          <name><NAME></name>
          <url>http://mth.io</url>
        </developer>
      </developers>
    )
  )
}
<commit_msg>Enable fatal warnings<commit_after>import sbt._
import Keys._

object build extends Build {
  type Sett = Def.Setting[_]

  val pirate = Project(
    id = "pirate"
  , base = file(".")
  , settings = Defaults.coreDefaultSettings ++ publishSettings ++ Seq[Sett](
      name := "pirate"
    , organization := "io.mth"
    , version := "1.0-M1"
    , scalaVersion := "2.11.2"
    , crossScalaVersions := Seq("2.10.4", scalaVersion.value)
    , scalacOptions := Seq(
        "-deprecation"
      , "-unchecked"
      , "-feature"
      , "-language:_"
      , "-Ywarn-value-discard"
      , "-Xlint"
      , "-Xfatal-warnings"
      )
    , libraryDependencies ++= Seq(
        "org.scalaz" %% "scalaz-core" % "7.1.0"
      , "org.scalaz" %% "scalaz-effect" % "7.1.0"
      , "org.scalaz" %% "scalaz-scalacheck-binding" % "7.1.0"
      , "org.specs2" %% "specs2-core" % "2.4" % "test"
      , "org.specs2" %% "specs2-scalacheck" % "2.4" % "test"
      ) ++ (
        if (scalaVersion.value.contains("2.10")) Seq("com.chuusai"  % s"shapeless_${scalaVersion.value}" % "2.0.0")
        else                                     Seq("com.chuusai" %% s"shapeless"                       % "2.0.0")
      )
    )
  )

  lazy val publishSettings = Seq(
    publishMavenStyle := true
    , publishArtifact in Test := false
    , pomIncludeRepository := { _ => false }
    , licenses := Seq("BSD-3-Clause" -> url("http://www.opensource.org/licenses/BSD-3-Clause"))
    , homepage := Some(url("https://github.com/markhibberd/pirate"))
    , publishTo <<= version.apply(v => {
      val nexus = "https://oss.sonatype.org/"
      if (v.trim.endsWith("SNAPSHOT"))
        Some("oss snapshots" at nexus + "content/repositories/snapshots")
      else
        Some("oss releases"  at nexus + "service/local/staging/deploy/maven2")
    })

    , pomExtra := (
      <scm>
        <url><EMAIL>:markhibberd/pirate.git</url>
        <connection>scm:git:<EMAIL>:markhibberd/pirate.git</connection>
      </scm>
      <developers>
        <developer>
          <id>mth</id>
          <name><NAME></name>
          <url>http://mth.io</url>
        </developer>
      </developers>
    )
  )
}

{'fraction_non_alphanumeric': 0.18255813953488373, 'fraction_numerical': 0.018604651162790697, 'mean_word_length': 2.171828908554572, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 46, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6570017', 'n_tokens_mistral': 1618, 'n_tokens_neox': 1546, 'n_words': 235}