Skip to content

Commit

Permalink
Fix B018 flake error
Browse files Browse the repository at this point in the history
Flake is failing with "B018 Found useless expression."

https://app.travis-ci.com/github/prkumar/uplink/jobs/553555288
  • Loading branch information
prkumar committed Dec 29, 2021
1 parent c0733e3 commit 7bb0b35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,6 @@ ENV/
# [2]: https://docs.pipenv.org/advanced/#pipfile-vs-setup-py
#
Pipfile.lock

# macOS
.DS_Store
2 changes: 1 addition & 1 deletion tests/unit/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_tuple(self):

def test_callable(self):
def func():
None
pass

output = auth.get_auth(func)
assert output is func
Expand Down

0 comments on commit 7bb0b35

Please sign in to comment.