From 23f31ee5453fa686c0558ca69f2d6444a0c86fa6 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 8 Jul 2022 03:05:26 +0000 Subject: [PATCH] :bookmark: bump version 0.1.1 --- .pre-commit-config.yaml | 2 +- README.md | 30 ++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09881cc..1fb9e66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: stages: [commit] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.6.0 hooks: - id: black stages: [commit] diff --git a/README.md b/README.md index 1fa88d3..1d6a627 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,33 @@ # Nonemoji 自维护的 gitmoji-cli,删减了部分 emoji + +## 安装 + +```bash +poetry add nonemoji --dev +``` + +## pre-commit 使用 + +```yaml +# .pre-commit-config.yaml +default_install_hook_types: [pre-commit, prepare-commit-msg] +repos: + - repo: https://github.com/pycqa/isort + rev: 5.10.1 + hooks: + - id: isort + stages: [commit] + + - repo: https://github.com/psf/black + rev: 22.6.0 + hooks: + - id: black + stages: [commit] + + - repo: https://github.com/nonebot/nonemoji + rev: v0.1.1 + hooks: + - id: nonemoji +``` diff --git a/pyproject.toml b/pyproject.toml index ca0f324..f73db78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonemoji" -version = "0.1.0" +version = "0.1.1" description = "Simple gitmoji cli written in python" authors = ["jigsaw ", "yanyongyu "] license = "MIT"