Skip to content

Commit 4231209

Browse files
committed
Normalise to single quotes
1 parent 6d3049b commit 4231209

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Sphinx configuration in various branches:
3939
| 3.4 | ø | needs_sphinx='1.2' |
4040
| 3.5 | ø | needs_sphinx='1.8' |
4141
| 3.6 | ø | needs_sphinx='1.2' |
42-
| 3.7 | sphinx==2.3.1 | needs_sphinx="1.6.6" |
42+
| 3.7 | sphinx==2.3.1 | needs_sphinx='1.6.6' |
4343
| 3.8 | sphinx==2.4.4 | needs_sphinx='1.8' |
4444
| 3.9 | sphinx==2.4.4 | needs_sphinx='1.8' |
4545
| 3.10 | sphinx==3.4.3 | needs_sphinx='3.2' |

check_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def find_upstream_remote_name(repo: git.Repo) -> str:
3636
return f"{remote.name}/"
3737

3838

39-
def find_sphinx_spec(text: str):
39+
def find_sphinx_spec(text: str) -> str:
4040
if found := re.search(
4141
"""sphinx[=<>~]{1,2}[0-9.]{3,}|needs_sphinx = [0-9.'"]*""",
4242
text,
4343
flags=re.IGNORECASE,
4444
):
45-
return found.group(0).replace(" ", "")
45+
return found.group(0).replace(" ", "").replace('"', "'")
4646
return "ø"
4747

4848

0 commit comments

Comments
 (0)