Skip to content

Commit e103e1c

Browse files
Bobroniumbranchv
andauthored
Fix CI | Update black version in pre-commit (#137)
* Update black This fixes pallets/click#2225 * Update black and python version Python version is updated to satisfy black constraint The current project's Python requirement (>=3.6,<4.0) is not compatible with some of the required packages Python requirement: - black requires Python >=3.6.2, so it will not be satisfied for Python >=3.6,<3.6.2 * Reformat files with black 22.3.0 * Remove black from pyproject.toml Co-authored-by: Branch Vincent <branchevincent@gmail.com> * Revert updating python version Co-authored-by: Branch Vincent <branchevincent@gmail.com>
1 parent 8c3ba58 commit e103e1c

File tree

4 files changed

+328
-311
lines changed

4 files changed

+328
-311
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repos:
22
- repo: https://github.com/ambv/black
3-
rev: 20.8b1
3+
rev: 22.3.0
44
hooks:
55
- id: black

docs/conf.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
master_doc = "index"
4545

4646
# General information about the project.
47-
project = u"Cleo"
48-
copyright = u"2014, Sébastien Eustace"
47+
project = "Cleo"
48+
copyright = "2014, Sébastien Eustace"
4949

5050
# The version info for the project you're documenting, acts as replacement for
5151
# |version| and |release|, also used in various other places throughout the
@@ -195,7 +195,7 @@
195195
# (source start file, target name, title,
196196
# author, documentclass [howto, manual, or own class]).
197197
latex_documents = [
198-
("index", "Cleo.tex", u"Cleo Documentation", u"Sébastien Eustace", "manual")
198+
("index", "Cleo.tex", "Cleo Documentation", "Sébastien Eustace", "manual")
199199
]
200200

201201
# The name of an image file (relative to this directory) to place at the top of
@@ -223,7 +223,7 @@
223223

224224
# One entry per manual page. List of tuples
225225
# (source start file, name, description, authors, manual section).
226-
man_pages = [("index", "cleo", u"Cleo Documentation", [u"Sébastien Eustace"], 1)]
226+
man_pages = [("index", "cleo", "Cleo Documentation", ["Sébastien Eustace"], 1)]
227227

228228
# If true, show URL addresses after external links.
229229
# man_show_urls = False
@@ -238,8 +238,8 @@
238238
(
239239
"index",
240240
"Cleo",
241-
u"Cleo Documentation",
242-
u"Sébastien Eustace",
241+
"Cleo Documentation",
242+
"Sébastien Eustace",
243243
"Cleo",
244244
"One line description of project.",
245245
"Miscellaneous",
@@ -267,7 +267,6 @@
267267
def setup(app):
268268
app.add_stylesheet("theme_overrides.css")
269269

270-
271270
else:
272271
html_context = {
273272
"css_files": [

0 commit comments

Comments
 (0)