Skip to content

Commit

Permalink
Fixed dodgy whitespace and missing EOF newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberger committed Oct 26, 2023
1 parent ff8e98e commit 461e402
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
include:
- os: macos-latest
- os: ubuntu-latest
- os: windows-latest
- os: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
Expand All @@ -31,4 +31,3 @@ jobs:
run: sbt test
- name: Run main
run: sbt run

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ project
.bsp
*.cache
build-info.scala


7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
2 changes: 0 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ runner.dialect = scala3
indent.main = 4
align.preset = more
maxColumn = 150


1 change: 0 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ version: 0.2
doi: 10.48550/arXiv.2302.10137
date-released: 2023-02-20
url: "https://github.com/martinberger/hol-c"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
an LCF-style interactive theorem prover for the HOL(C) logic
introduced in the paper

> *A modest proposal: explicit support for foundational pluralism*
> *A modest proposal: explicit support for foundational pluralism*
by [Dominic Mulligan](https://dominicpm.github.io/) and [Martin
Berger](https://martinfriedrichberger.net/). The
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/logic/Kinds.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sealed trait Kind
case object TyKind extends Kind
case class ConstructorKind(k: Kind) extends Kind

given CanEqual[Kind, Kind] = CanEqual.derived
given CanEqual[Kind, Kind] = CanEqual.derived

object TyFunctionKind:
def apply(): Kind = ConstructorKind(TyKind)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/tactics/ProofState.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ProofState(
override def toString(): String = s"""
+++++++++++++++++++++++++++++
subgoals = \n${ProofState.subgoalToString(subgoals)}
selected = ${selected} (as names: ${ProofState.selectedGoalNames(this)})
selected = ${selected} (as names: ${ProofState.selectedGoalNames(this)})
all holeIDs = ${subgoals.keySet}
+++++++++++++++++++++++++++++
"""
Expand Down
1 change: 0 additions & 1 deletion src/main/scala/tests/RuleTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ package Prover

object RuleTests:
def run(): (Int, Int) = (0, 0)

0 comments on commit 461e402

Please sign in to comment.