From 3e7aac16938e7f361bb5cf453de6e9a8f494ac30 Mon Sep 17 00:00:00 2001 From: takunomi-build-bot Date: Sun, 13 Apr 2025 18:46:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Repository=20layout=20updated=20?= =?UTF-8?q?to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit was automatically generated by [a script](https://gitfub.space/Jmaa/repo-manager) --- CONVENTIONS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CONVENTIONS.md b/CONVENTIONS.md index 60cd60c..7fc9a32 100644 --- a/CONVENTIONS.md +++ b/CONVENTIONS.md @@ -1,3 +1,10 @@ +# Conventions + +When contributing code to this project, you MUST follow the requirements +specified here. + +## Code Conventions + When contributing code to this project, you MUST follow these principles: - Code should be easy to read and understand. @@ -15,3 +22,11 @@ When contributing code to this project, you MUST follow these principles: - Do not use f-strings in logging statements. - Loop variables and walrus-expression-variables should be deleted when unneeded to keep scope clean, and to avoid accidental use. + +## Testing + +When contributing test to this project, you MUST follow these principles: + +- Do not use any testing libraries other than `pytest`. +- Mocking is the root of all evil. Writing your own stubs is much more + preferable.