From 62878f42c0ec61b56db623da26d86d95a7ceec9e Mon Sep 17 00:00:00 2001 From: Yuriy Tkach Date: Sat, 16 Dec 2023 18:50:10 +0200 Subject: [PATCH] build: Update sweep.yaml --- sweep.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sweep.yaml b/sweep.yaml index 6bdb237..f6d293a 100644 --- a/sweep.yaml +++ b/sweep.yaml @@ -3,6 +3,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: + - "Use 'final' keyword for all function parameters and local variables, including exception declarations." + - "Use 'ex' for exception variable in catch clause." + - "Prefer stream api over loops, prefer functional style code." - "All new business logic should have corresponding unit tests." - "Refactor large functions to be more modular." - "Add javadoc to all functions except one-liners." @@ -19,7 +22,7 @@ gha_enabled: True # Example: # # description: sweepai/sweep is a python project. The main api endpoints are in sweepai/api.py. Write code that adheres to PEP8. -description: 'AWS Lambda function written on Quarkus that responds to http requests, stores data in DynamoDB, reads recrets from AWS Systems Manager' +description: 'AWS Lambda function written in Java 17 using Quarkus that responds to http requests, stores data in DynamoDB, reads recrets from AWS Systems Manager' # This sets whether to create pull requests as drafts. If this is set to True, then all pull requests will be created as drafts and GitHub Actions will not be triggered. draft: False