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.
This commit is contained in:
Rajtilak Bhattacharjee 2023-11-10 21:08:04 +05:30
parent ec9855ad3c
commit 6f9c9d5644
2 changed files with 16 additions and 1 deletions

15
.pre-commit-config.yaml Normal file
View File

@ -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

View File

@ -6,4 +6,4 @@ authors:
title: "keepyourmouthshut"
version: 1.0.0
date-released: 2023-11-10
url: "https://github.com/rajtilakjee/keepyourmouthshut"
url: "https://github.com/rajtilakjee/keepyourmouthshut"