From 6f9c9d564498676b5650851ebc3a79d10d375bcf Mon Sep 17 00:00:00 2001 From: Rajtilak Bhattacharjee Date: Fri, 10 Nov 2023 21:08:04 +0530 Subject: [PATCH] feat: introduce pre-commit setup and update citation configuration - Added .pre-commit-config.yaml to establish pre-commit hooks for code quality checks and formatting. - Modified CITATION.cff to update project citation configuration for improved recognition and referencing. --- .pre-commit-config.yaml | 15 +++++++++++++++ CITATION.cff | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5c77e1d --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,15 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.11.0 + hooks: + - id: black + language_version: python3.11 diff --git a/CITATION.cff b/CITATION.cff index 1db2f96..cf54797 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -6,4 +6,4 @@ authors: title: "keepyourmouthshut" version: 1.0.0 date-released: 2023-11-10 -url: "https://github.com/rajtilakjee/keepyourmouthshut" \ No newline at end of file +url: "https://github.com/rajtilakjee/keepyourmouthshut"