Skip to content

Commit 94c8db3

Browse files
authored
Merge pull request #1299 from sigmavirus24/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 0f6efae + e99b148 commit 94c8db3

4 files changed

Lines changed: 6 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
hooks:
1919
- id: isort
2020
- repo: https://github.com/psf/black-pre-commit-mirror
21-
rev: 25.12.0
21+
rev: 26.1.0
2222
hooks:
2323
- id: black
2424
- repo: https://github.com/asottile/pyupgrade

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)