From 7095d6297b490603d1b844a538905add731b76db Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Fri, 21 Jul 2023 17:53:24 +0100 Subject: [PATCH] fix syntax errors in patterns --- serverless.yml | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/serverless.yml b/serverless.yml index 07ff3e97..78519513 100644 --- a/serverless.yml +++ b/serverless.yml @@ -29,30 +29,20 @@ provider: package: individually: true patterns: - - backend/** - - !backend/tests/** - - recommendations/** - - !recommendations/tests/** - - model_data/BaseUtility.py - - !model_data/** - - !infrastructure/** - - !data_collection/** - - !node_modules/** - - !conservation_areas/** - - !open_uprn/** - - !land_registry/** - - !pytest.ini - # exclude: - # - model_data/local_data/** - # - model_data/tests/** - # - infrastructure/** - # - data_collection/** - # - node_modules/** - # - conservation_areas/** - # - open_uprn/** - # - land_registry/** - # - recommendations/tests/** - # - pytest.ini + - 'backend/**' + - '!backend/tests/**' + - 'recommendations/**' + - '!recommendations/tests/**' + - 'model_data/BaseUtility.py' + - '!model_data/**' + - '!infrastructure/**' + - '!data_collection/**' + - '!node_modules/**' + - '!conservation_areas/**' + - '!open_uprn/**' + - '!land_registry/**' + - '!pytest.ini' + plugins: - serverless-python-requirements