From 10041a87d75c5e98bf0fee17e4fe617a8ca5a91c Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Sat, 23 Dec 2023 20:28:08 -0600 Subject: [PATCH] Minor updates to prepare next version --- .pre-commit-hooks.yaml | 2 +- LICENSE | 2 +- README.md | 11 +++-------- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index ef618c4..261464e 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ --- - id: scalafmt name: scalafmt - description: "runs the scalafmt code formatter" + description: "Runs the scalafmt code formatter using Coursier." entry: scalafmt language: coursier types: [file] diff --git a/LICENSE b/LICENSE index fa772d5..1da01d8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 pfm +Copyright (c) Pat Garrity (pfm) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index 00c92b2..4c7099f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# meager-precommit-scala +# gs-pre-commit-scala Pre-commit hooks for Scala 3 development. Used to run `scalafmt` on commit. @@ -9,13 +9,8 @@ Create `.pre-commit-config.yaml` at the root of your repository: ```yaml --- repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: end-of-file-fixer - - id: trailing-whitespace - - repo: https://git.meager.home/meager/meager-pre-commit-scala - rev: v0.1.2 + - repo: https://git.garrity.co/garrity-software/gs-pre-commit-scala + rev: v1.0.0 hooks: - id: scalafmt ```