generated from cds-snc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: render commands available in dev only * fix: move google-service command to bottom * feat: make test command available in dev only * fix: fix mypy path for current project structure * fix: update pylint cwd * fix: ignore google.oauth2 missing stub warning * fix: config flake8 instead of pylint * feat: add a decorator to handle api calls errors * feat: refactor basic drive functions * feat: add get_file_by_name function * feat: add list metadata function * feat: use new drive module functions * fix: shorten test command * fix: handle invalid folder * feat: modify wrapper to provide context * fix: add missing parameter to list_metadata * fix: surround function name w/ single quotes * fix: google drive healthcheck * fix: matching error message * feat: add healtcheck message * fix: update module docstrings w/ more details * fix: remove import from google_service * fix: update module docstring * feat: add basic docstring for Docs module * fix: replicate current tests for conformity * fix: add loop to handle pagination Co-authored-by: Pat Heard <[email protected]> * fix: ensure all files are returned * fix: add test to handle pagination * fix: log errors * fix: remove unused variables * feat: include ValueError logging in the wrapper function * fix: adjust tests to handle logging errors * fix: test names * fix: lint --------- Co-authored-by: Pat Heard <[email protected]>
- Loading branch information
Showing
12 changed files
with
650 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
{ | ||
"python.pylintPath": "/usr/local/py-utils/bin/pylint", | ||
"mypy-type-checker.cwd": "${workspaceFolder}/app", | ||
"pylint.cwd": "${workspaceFolder}/app", | ||
"pylint.path": [ | ||
"[\"../../usr/local/py-utils/bin/pylint\"]" | ||
], | ||
"flake8.cwd": "${workspaceFolder}/app" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"""Google Docs module. | ||
This module provides functions to create and manipulate Google Docs. | ||
""" |
Oops, something went wrong.