File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Pytest CI
22
33on :
44 push :
5- branches :
6- - main
5+ # branches:
6+ # - main
77 pull_request :
88
99jobs :
Original file line number Diff line number Diff line change 11from argon2 import exceptions
22from flask import Blueprint , jsonify , request
33
4- from utils import (
5- database_cursor ,
6- decrypt_email ,
7- encrypt_email ,
8- hash_email ,
9- hash_password ,
10- mask_email ,
11- validate_password ,
12- verify_password ,
13- )
4+ from utils import *
145
156person_blueprint = Blueprint ("person" , __name__ )
167
Original file line number Diff line number Diff line change 1212
1313from db import get_db_connection
1414
15+ __all__ = [
16+ "database_cursor" ,
17+ "decrypt_email" ,
18+ "encrypt_email" ,
19+ "hash_email" ,
20+ "hash_password" ,
21+ "mask_email" ,
22+ "validate_password" ,
23+ "verify_password" ,
24+ ]
25+
1526load_dotenv ()
1627ph = PasswordHasher ()
1728AES_KEY = bytes .fromhex (os .getenv ("AES_SECRET_KEY" , os .urandom (32 ).hex ()))
You can’t perform that action at this time.
0 commit comments