diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..2172a78 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,15 @@ + ## Issue +_Link to the issue resolved by this PR._ + +## Description +_Description of the approach taken to solve the issue._ + +## How to test +_How to verify the changes._ + +## Checklist +- [ ] No redundant \`print()\` statements, commented-out code, or other remnants from the development ๐Ÿ‘€ +- [ ] New/refactored code is following same conventions as the rest of the code base ๐Ÿงฌ +- [ ] New/refactored code is tested โš™ +- [ ] Documentation has been updated ๐Ÿงพ +- [ ] Commits are semantic โœ… \ No newline at end of file diff --git a/src/sumo/wrapper/_auth_provider.py b/src/sumo/wrapper/_auth_provider.py index 1f83f1f..cc0bc36 100644 --- a/src/sumo/wrapper/_auth_provider.py +++ b/src/sumo/wrapper/_auth_provider.py @@ -325,8 +325,8 @@ def login(self): if "error" in flow: print( "\n\n \033[31m" - + "Failed to initiate device-code login. Err: %s" - + "\033[0m" % json.dumps(flow, indent=4) + + "Failed to initiate device-code login. Err: %s\033[0m" + % json.dumps(flow, indent=4) ) return flow["expires_at"] = (