Skip to content

Commit 4de1804

Browse files
Add PR template (#260)
* chore: add PR template * chore: formatting --------- Co-authored-by: sudo-infra-app[bot] <sudo-infra-app[bot]@users.noreply.github.com> Co-authored-by: Runar Ask Johannessen <89020325+equinor-ruaj@users.noreply.github.com>
1 parent d7ecdb3 commit 4de1804

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

.github/pull_request_template.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Issue
2+
_Link to the issue resolved by this PR._
3+
4+
## Description
5+
_Description of the approach taken to solve the issue._
6+
7+
## How to test
8+
_How to verify the changes._
9+
10+
## Checklist
11+
- [ ] No redundant \`print()\` statements, commented-out code, or other remnants from the development 👀
12+
- [ ] New/refactored code is following same conventions as the rest of the code base 🧬
13+
- [ ] New/refactored code is tested ⚙
14+
- [ ] Documentation has been updated 🧾
15+
- [ ] Commits are semantic ✅

src/sumo/wrapper/_auth_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ def login(self):
325325
if "error" in flow:
326326
print(
327327
"\n\n \033[31m"
328-
+ "Failed to initiate device-code login. Err: %s"
329-
+ "\033[0m" % json.dumps(flow, indent=4)
328+
+ "Failed to initiate device-code login. Err: %s\033[0m"
329+
% json.dumps(flow, indent=4)
330330
)
331331
return
332332
flow["expires_at"] = (

0 commit comments

Comments
 (0)