Skip to content

Commit e99b148

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 39387fa commit e99b148

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

docs/source/examples/source/octocat_say.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
print(github3.octocat("github3.py rocks!"))
77
print("Thanks Octocat, that means a lot coming from you.")
88
print("FIN.")
9-
print(
10-
"""Epilogue:
9+
print("""Epilogue:
1110
The preceding conversation was entirely fictional. If you didn't realize
1211
that, you need to get out more.
13-
"""
14-
)
12+
""")

report_issue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ def prompt_user(prompt_str):
6565
------
6666
6767
*Generated with github3.py using the report_issue script*
68-
""".format(
69-
issue_type, traceback, description
70-
)
68+
""".format(issue_type, traceback, description)
7169

7270
i = repo.create_issue(title, body)
7371

tests/integration/test_gists.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ def test_create_comment(self):
2424
with self.recorder.use_cassette(cassette_name):
2525
gist = self.gh.gist("f396190a0d0047be791b")
2626
assert gist is not None
27-
c = gist.create_comment(
28-
"""```ruby
27+
c = gist.create_comment("""```ruby
2928
mac.split('').map.with_index do |v, i|
3029
positions.include?(i) ? ':' + v : v
3130
end
32-
```"""
33-
)
31+
```""")
3432
assert isinstance(c, github3.gists.comment.GistComment)
3533

3634
def test_commits(self):

0 commit comments

Comments
 (0)