Skip to content

d-w-arnold/aws-lambda-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-examples

What is AWS Lambda?

This repo is a submodule of: aws-cdk-examples

Add Git Hooks

See pre-push shell script in hooks/.

When pushing to the main branch, a push is successful unless Black formatter returns a non-zero exit code, in which it will show the diff regarding what Black would change.

To utilise this pre-push git hook, run the following commands in the project root directory:

(Submodule repo)

# Copy all repo git hooks.
cp -av hooks/* ../.git/modules/aws-lambda/hooks

# Set all git hooks to executable, if not already set.
chmod +x ../.git/modules/aws-lambda/hooks/*

(Stand-alone repo)

# Copy all repo git hooks.
cp -av hooks/* .git/hooks

# Set all git hooks to executable, if not already set.
chmod +x .git/hooks/*

Releases

No releases published

Packages

No packages published