From 959f58f2ff31a862e4947708bf2f5b3e1fc470a6 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Thu, 16 Nov 2023 06:33:58 +1100 Subject: [PATCH] Added new rules to sweep.yaml --- sweep.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sweep.yaml b/sweep.yaml index a1af2e61..eec2a7c5 100644 --- a/sweep.yaml +++ b/sweep.yaml @@ -4,6 +4,9 @@ # This setting contains a list of rules that Sweep will check for. If any of these rules are broken in a new commit, Sweep will create an pull request to fix the broken rule. rules: - "All docstrings and comments should be up to date." + - "Ensure consistent indentation and spacing throughout the code." + - "Use meaningful variable and function names that accurately describe their purpose." + - "Avoid using magic numbers or hard-coded values. Instead, use constants or variables to improve code readability and maintainability." - "Remove commented-out code and unused imports to keep the codebase clean and organized." - "Follow a consistent naming convention for files, functions, and variables to improve code readability and maintainability."