8000 Fix up flake8 errors · pythonthings/github3.py@f5e564d · GitHub
[go: up one dir, main page]

Skip to content

Commit f5e564d

Browse files
committed
Fix up flake8 errors
1 parent b018bf6 commit f5e564d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ def test_all_users(self):
4141

4242
def test_authorize(self):
4343
"""Show that github3.authorize 8000 proxies to GitHub."""
44-
args = ('login', 'password', ['scope'], 'note', 'url.com', '', '')
44+
args = ('login', 'password', ['scope'], 'note', 'url.com', '', '')
4545
with mock.patch('github3.api.GitHub') as gh:
4646
github3.authorize(*args)
4747
gh().authorize.assert_called_once_with(*args)
4848

4949
def test_authorize_with_github_argument(self):
5050
"""Show that github3.authorize can use an existing GitHub object."""
51-
args = ('login', 'password', ['scope'], 'note', 'url.com', '', '')
51+
args = ('login', 'password', ['scope'], 'note', 'url.com', '', '')
5252
github = mock.Mock(spec_set=github3.GitHub)
5353
with mock.patch('github3.api.GitHub') as gh:
5454
github3.authorize(*args, github=github)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ addopts = -q
6464
norecursedirs = *.egg .git .* _*
6565

6666
[flake8]
67-
ignore = D105
67+
ignore = D105,E123

0 commit comments

Comments
 (0)
0