Skip to content

Commit e1a1252

Browse files
committed
pre-commit conifg
1 parent acebd6a commit e1a1252

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
cache: "sbt"
1616
distribution: "temurin"
1717
java-version: 21
18+
- uses: sbt/setup-sbt@v1
1819
- run: sbt "; scalafmtCheckAll; scalafmtSbtCheck"
19-
20+
2021
test:
2122
runs-on: ubuntu-latest
2223
steps:
@@ -27,4 +28,3 @@ jobs:
2728
distribution: "temurin"
2829
java-version: 21
2930
- run: sbt test
30-

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ docs/src/main/tut/contributing.md
5858

5959
.ruby_version
6060
.vscode
61-
project
61+
project

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-yaml
6+
args: [--unsafe]
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace

.projectile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-*.semanticdb
1+
-*.semanticdb

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ version=2.3.2
22
maxColumn = 110
33
newlines.penalizeSingleSelectMultiArgList = false
44
align.openParenCallSite = false
5-
rewrite.rules = [AvoidInfix, SortImports, RedundantBraces, RedundantParens, PreferCurlyFors]
5+
rewrite.rules = [AvoidInfix, SortImports, RedundantBraces, RedundantParens, PreferCurlyFors]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@
174174
incurred by, or claims asserted against, such Contributor by reason
175175
of your accepting any such warranty or additional liability.
176176

177-
END OF TERMS AND CONDITIONS
177+
END OF TERMS AND CONDITIONS

docs/src/main/resources/microsite/data/menu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ options:
9090

9191
- title: Planning and Learning with Tabular Methods
9292
url: course/tabular/tabular_methods.html
93-
menu_section: tabular
93+
menu_section: tabular

0 commit comments

Comments
 (0)