Skip to content

Commit

Permalink
Merge pull request #83 from praw-dev/fixmaster
Browse files Browse the repository at this point in the history
Resolve master build issues
  • Loading branch information
bboe committed Jan 4, 2020
2 parents 65ba6b0 + 6277222 commit d936697
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .flake8
@@ -0,0 +1,2 @@
[flake8]
ignore = E203 E501 W503 W504
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,7 @@ install: pip install coveralls
jobs:
include:
- install: pip install black flake8 pydocstyle
python: 3.7
python: 3.8
script:
- black --check --verbose *.py examples prawcore tests
- flake8
Expand All @@ -15,6 +15,7 @@ python:
- 3.5
- 3.6
- 3.7
- 3.8
script:
- coverage run --source=prawcore setup.py test
- coveralls
Expand Down
2 changes: 1 addition & 1 deletion prawcore/sessions.py
Expand Up @@ -74,7 +74,7 @@ def consume_available_retry(self):
return type(self)(self._retries - 1)

def should_retry_on_failure(self):
"""``True`` if and only if the strategy will allow another retry."""
"""Return ``True`` if and only if the strategy will allow another retry."""
return self._retries > 1


Expand Down

0 comments on commit d936697

Please sign in to comment.