Browse Source

Format files

pull/789/head
Michael Jones 7 months ago
parent
commit
f8e2e8d76f
  1. 1
      breathe/__init__.py
  2. 4
      scripts/version-check.py

1
breathe/__init__.py

@ -7,6 +7,7 @@ from sphinx.application import Sphinx
# Keep in sync with setup.py __version__
__version__ = "4.31.0"
def setup(app: Sphinx):
directive_setup(app)
file_state_cache_setup(app)

4
scripts/version-check.py

@ -9,9 +9,9 @@ import re
import breathe
setup_version = ""
with open('setup.py') as setup:
with open("setup.py") as setup:
for line in setup:
if line.startswith('__version__'):
if line.startswith("__version__"):
match = re.search('"(?P<version>[^"]*)"', line)
if match:
setup_version = match.group("version")

Loading…
Cancel
Save