Skip to content

Commit 88d8f25

Browse files
authored
Run black 23.7.0 (#23)
* Run black 23.7.0 * Upgrade blacken-docs
1 parent a7f5dbf commit 88d8f25

3 files changed

Lines changed: 10 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ repos:
1313
- id: remove-tabs
1414
- id: remove-crlf
1515
- repo: https://github.com/psf/black
16-
rev: 19.3b0
16+
rev: 23.7.0
1717
hooks:
1818
- id: black
1919
- repo: https://github.com/asottile/blacken-docs
20-
rev: v1.3.0
20+
rev: 1.16.0
2121
hooks:
2222
- id: blacken-docs
2323
- repo: https://github.com/timothycrosley/isort

autograph_utils/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,7 @@ async def verify_x5u(self, url):
390390
return res
391391

392392
def _verify_cert_link(self, current_cert, next_cert):
393-
"""Verify a single link in a cert chain.
394-
395-
"""
393+
"""Verify a single link in a cert chain."""
396394
key = current_cert.public_key()
397395
if isinstance(key, RSAPublicKey):
398396
try:

docs/conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
master_doc = "index"
4949

5050
# General information about the project.
51-
project = u"Python Autograph Utilities"
52-
copyright = u"2019, Ethan Glasser-Camp"
53-
author = u"Ethan Glasser-Camp"
51+
project = "Python Autograph Utilities"
52+
copyright = "2019, Ethan Glasser-Camp"
53+
author = "Ethan Glasser-Camp"
5454

5555
# The version info for the project you're documenting, acts as replacement
5656
# for |version| and |release|, also used in various other places throughout
@@ -129,8 +129,8 @@
129129
(
130130
master_doc,
131131
"autograph_utils.tex",
132-
u"Python Autograph Utilities Documentation",
133-
u"Ethan Glasser-Camp",
132+
"Python Autograph Utilities Documentation",
133+
"Ethan Glasser-Camp",
134134
"manual",
135135
)
136136
]
@@ -144,7 +144,7 @@
144144
(
145145
master_doc,
146146
"autograph_utils",
147-
u"Python Autograph Utilities Documentation",
147+
"Python Autograph Utilities Documentation",
148148
[author],
149149
1,
150150
)
@@ -160,7 +160,7 @@
160160
(
161161
master_doc,
162162
"autograph_utils",
163-
u"Python Autograph Utilities Documentation",
163+
"Python Autograph Utilities Documentation",
164164
author,
165165
"autograph_utils",
166166
"One line description of project.",

0 commit comments

Comments
 (0)