mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
Format conf.py with black
This commit is contained in:
parent
66fd52aa15
commit
56c0b99799
1 changed files with 5 additions and 4 deletions
|
@ -53,12 +53,13 @@ author = "fish-shell developers"
|
|||
|
||||
# Parsing FISH-BUILD-VERSION-FILE is possible but hard to ensure that it is in the right place
|
||||
# fish_indent is guaranteed to be on PATH for the Pygments highlighter anyway
|
||||
ret = subprocess.run(('fish_indent', '--version',),
|
||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE).stderr.decode('utf-8')
|
||||
ret = subprocess.run(
|
||||
("fish_indent", "--version"), stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||
).stderr.decode("utf-8")
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = ret.strip().split(' ')[-1]
|
||||
release = ret.strip().split(" ")[-1]
|
||||
# The short X.Y version
|
||||
version = release.rsplit('.', 1)[0]
|
||||
version = release.rsplit(".", 1)[0]
|
||||
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue