Skip to content

Commit 6b15242

Browse files
committed
style: lint Makefile
1 parent 242fee3 commit 6b15242

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

Makefile

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ pre-commit:
2727
pre-commit autoupdate
2828
pre-commit run --all-files
2929

30-
######################
31-
# AWS API Gateway + Lambda + OpenAI
32-
######################
30+
# ---------------------------------------------------------
31+
# create python virtual environments for dev as well
32+
# as for the Lambda layer.
33+
# ---------------------------------------------------------
3334
api-init:
34-
# ---------------------------------------------------------
35-
# create python virtual environments for dev as well
36-
# as for the Lambda layer.
37-
# ---------------------------------------------------------
3835
make api-clean
3936
npm install && \
4037
python3.11 -m venv venv && \
@@ -50,10 +47,6 @@ api-init:
5047
deactivate && \
5148
pre-commit install
5249

53-
api-activate:
54-
. venv/bin/activate && \
55-
pip install -r requirements.txt
56-
5750
api-test:
5851
python -m unittest discover -s api/terraform/python/openai_api/
5952

@@ -130,7 +123,6 @@ help:
130123
@echo 'release - force a new release'
131124
@echo '-- AWS API Gateway + Lambda --'
132125
@echo 'api-init - create a Python virtual environment and install dependencies'
133-
@echo 'api-activate - activate the Python virtual environment'
134126
@echo 'api-test - run Python unit tests'
135127
@echo 'api-lint - run Python linting'
136128
@echo 'api-clean - destroy the Python virtual environment'

0 commit comments

Comments
 (0)