Skip to content

Commit

Permalink
Enable disable otp (#256)
Browse files Browse the repository at this point in the history
* test

* test

* validate pr refs

* reset api app

* add .venv

* add code checkers

* set cwd

* new deps

* remove unused config

* fix pylint_django bug

* quick save

* finalize

* move logic to signal

* feedback

* split run into separate files

* update test cases

* house keeping

* house keeping

* hi again florian

* Merge branch 'development' into enable_disable_otp

* remove todo

* remove spaces

* remove more spaces

* feedback and rename scripts
  • Loading branch information
SKairinos authored Jan 24, 2024
1 parent 85311da commit 558feaf
Show file tree
Hide file tree
Showing 14 changed files with 300 additions and 23 deletions.
51 changes: 51 additions & 0 deletions .vscode/workspace.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"module.docstring": {
"prefix": [
"module.docstring",
"\"\"\"",
"'''"
],
"scope": "python",
"body": [
"\"\"\"",
"© Ocado Group",
"Created on $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR at $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND($CURRENT_TIMEZONE_OFFSET)."
"",
"${1:__description__}",
"\"\"\""
]
},
"module.doccomment": {
"prefix": [
"module.doccomment",
"/"
],
"scope": "javascript,typescript,javascriptreact,typescriptreact",
"body": [
"/**",
" * © Ocado Group",
" * Created on $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR at $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND($CURRENT_TIMEZONE_OFFSET)."
" *",
" * ${1:__description__}",
" */"
]
},
"pylint.disable-next": {
"prefix": [
"# pylint"
],
"scope": "python",
"body": [
"# pylint: disable-next=${1:__code_name__}"
]
},
"mypy.ignore": {
"prefix": [
"# type"
],
"scope": "python",
"body": [
"# type: ignore[${1:__code_name__}]"
]
}
}
4 changes: 2 additions & 2 deletions backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ django-import-export = "*"
google-cloud-logging = "==1.*"
google-auth = "==2.*"
google-cloud-container = "==2.3.0"
"django-anymail[amazon_ses]" = "==7.0.*"
codeforlife = {ref = "code-checkers", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
# "django-anymail[amazon_ses]" = "==7.0.*"
codeforlife = {ref = "v0.9.5", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
django = "==3.2.20"
djangorestframework = "==3.13.1"
django-cors-headers = "==4.1.0"
Expand Down
Loading

0 comments on commit 558feaf

Please sign in to comment.