Skip to content

Commit

Permalink
Fix: Broken Master branch (uc-cdis#59)
Browse files Browse the repository at this point in the history
* Adding `requirements.txt` for lambda_auth
* Updating pyproject.toml to update pythonpath
* Adding boiler plate code to match relative imports for pytest
* Eliminate `setup.py`
  • Loading branch information
nss10 authored Mar 13, 2023
1 parent 5ba5ec3 commit 2b8eaea
Show file tree
Hide file tree
Showing 9 changed files with 1,509 additions and 242 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: git@github.com:Yelp/detect-secrets
- repo: https://github.com/Yelp/detect-secrets
rev: v0.13.1
hooks:
- id: detect-secrets
Expand Down
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "bmh_admin_portal_ui/package-lock.json",
"lines": null
},
"generated_at": "2023-02-24T19:12:18Z",
"generated_at": "2023-03-13T22:43:07Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -62,7 +62,7 @@
{
"hashed_secret": "505032eaf8a3acf9b094a326dfb1cd0537c75a0d",
"is_verified": false,
"line_number": 378,
"line_number": 381,
"type": "Secret Keyword"
}
],
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PyJWT==2.0.1
cryptography==3.4.7
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
from botocore.exceptions import ClientError
from boto3.dynamodb.conditions import Key
from boto3.session import Session
from lambdas.workspaces_api_resource.email_helper.email_helper import EmailHelper

# Boilerplate code to have a workaround for unit tests and AWS deployment for relative imports
sys.path.append(os.path.join(os.path.dirname(__file__)))

from email_helper.email_helper import EmailHelper


import logging
Expand Down
Loading

0 comments on commit 2b8eaea

Please sign in to comment.