Pu oauth2 upgrade

1: D400 First line should end with '.', not 'r'
1: D200 One-line docstring should not occupy 3 lines
26:1: F401 'session' imported but unused
49: D400 First line should end with '.', not 'r'
49: D200 One-line docstring should not occupy 3 lines
71: D400 First line should end with '.', not 'd'
71: D200 One-line docstring should not occupy 3 lines
86: D200 One-line docstring should not occupy 3 lines
102: D400 First line should end with '.', not 's'
102: D200 One-line docstring should not occupy 3 lines
110: D400 First line should end with '.', not 's'
110: D200 One-line docstring should not occupy 3 lines
119: D200 One-line docstring should not occupy 3 lines
128: D200 One-line docstring should not occupy 3 lines
144: D200 One-line docstring should not occupy 3 lines