Skip to content

Commit 5539552

Browse files
committed
Fix black
1 parent de448cb commit 5539552

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7
1+
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.8
22

33
WORKDIR /workspaces
44

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
"runArgs": ["-e", "GIT_EDITOR=code --wait"],
88
"extensions": [
99
"ms-python.python",
10+
"ms-python.vscode-pylance",
1011
"ms-azure-devops.azure-pipelines",
1112
"esbenp.prettier-vscode"
1213
],
1314
"settings": {
14-
"python.pythonPath": "/usr/local/bin/python",
15+
"python.pythonPath": "/usr/local/bin/python3",
1516
"python.linting.pylintEnabled": true,
1617
"python.linting.enabled": true,
1718
"python.formatting.provider": "black",
18-
"python.formatting.blackArgs": ["--target-version", "py36"],
19+
"python.formatting.blackArgs": ["--target-version", "py38"],
1920
"editor.formatOnPaste": false,
2021
"editor.formatOnSave": true,
2122
"editor.formatOnType": true,

pycognito/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,8 @@ def admin_confirm_sign_up(self, username=None):
364364
if not username:
365365
username = self.username
366366
self.client.admin_confirm_sign_up(
367-
UserPoolId=self.user_pool_id, Username=username,
367+
UserPoolId=self.user_pool_id,
368+
Username=username,
368369
)
369370

370371
def confirm_sign_up(self, confirmation_code, username=None):

0 commit comments

Comments
 (0)