Skip to content

Commit

Permalink
setup makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Feb 29, 2024
1 parent d40274b commit 0a1afd2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export PYTHONPATH = ${PWD}/landsat/src

install:
python -m pip install --upgrade pip && \
python -m pip install -r requirements-all.txt

install-lambda-deps:
python -m pip install --upgrade pip && \
python -m pip install -r requirements-landsat.txt -t landsat/src/

test_file ?= 'tests/'
test:
pytest $(test_file)

static: ruff-check cfn-lint

ruff-check:
ruff check

ruff-format:
ruff format

ruff: ruff-check ruff-format

cfn-lint:
cfn-lint --template `find . -name cloudformation.yml` --info --ignore-checks W3002

0 comments on commit 0a1afd2

Please sign in to comment.