Skip to content

Commit

Permalink
Update black version in pre-commit (#472)
Browse files Browse the repository at this point in the history
* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* Update .pre-commit-config.yaml

* applied black locally

* Update grids.rst
  • Loading branch information
jbusecke authored Apr 18, 2022
1 parent d1b5666 commit a21d886
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml

- repo: https://github.com/PyCQA/isort
rev: 5.8.0
hooks:
- id: isort

- repo: https://github.com/python/black
rev: 21.5b1
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
Expand Down
12 changes: 6 additions & 6 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def setup(app):
master_doc = "index"

# General information about the project.
project = u"xgcm"
copyright = u"2016-2019, xgcm developers"
project = "xgcm"
copyright = "2016-2019, xgcm developers"

html_show_sourcelink = True
srclink_project = "https://github.com/xgcm/xgcm"
Expand Down Expand Up @@ -254,7 +254,7 @@ def setup(app):
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
("index", "xgcm.tex", u"xgcm Documentation", u"xgcm developers", "manual")
("index", "xgcm.tex", "xgcm Documentation", "xgcm developers", "manual")
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -282,7 +282,7 @@ def setup(app):

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [("index", "xgcm", u"xgcm Documentation", [u"xgcm developers"], 1)]
man_pages = [("index", "xgcm", "xgcm Documentation", ["xgcm developers"], 1)]

# If true, show URL addresses after external links.
# man_show_urls = False
Expand All @@ -297,8 +297,8 @@ def setup(app):
(
"index",
"xgcm",
u"xgcm Documentation",
u"xgcm developers",
"xgcm Documentation",
"xgcm developers",
"xgcm",
"One line description of project.",
"Miscellaneous",
Expand Down

0 comments on commit a21d886

Please sign in to comment.