diff --git a/website/build.py b/website/build.py old mode 100644 new mode 100755 diff --git a/website/fetch_github_stars.py b/website/fetch_github_stars.py old mode 100644 new mode 100755 diff --git a/website/fetch_pypi_downloads_via_bigquery.py b/website/fetch_pypi_downloads_via_bigquery.py old mode 100644 new mode 100755 index e8b5bbfc57..87099c6961 --- a/website/fetch_pypi_downloads_via_bigquery.py +++ b/website/fetch_pypi_downloads_via_bigquery.py @@ -47,7 +47,7 @@ def fetch_bigquery(names: list[str], dry_run: bool) -> dict[str, int]: if dry_run: cmd.append("--dry_run") cmd.append(query) - result = subprocess.run(cmd, capture_output=True, text=True) + result = subprocess.run(cmd, capture_output=True, text=True, check=False) if result.returncode != 0: print(result.stderr, file=sys.stderr) sys.exit(1) diff --git a/website/fetch_pypi_downloads_via_clickpy.py b/website/fetch_pypi_downloads_via_clickpy.py old mode 100644 new mode 100755 diff --git a/website/fetch_pypi_downloads_via_pepy.py b/website/fetch_pypi_downloads_via_pepy.py old mode 100644 new mode 100755 diff --git a/website/readme_parser.py b/website/readme_parser.py old mode 100644 new mode 100755 diff --git a/website/tests/test_readme_parser.py b/website/tests/test_readme_parser.py index 4d0b7ae73f..67e937b1c3 100644 --- a/website/tests/test_readme_parser.py +++ b/website/tests/test_readme_parser.py @@ -4,6 +4,8 @@ from pathlib import Path import pytest +from markdown_it import MarkdownIt +from markdown_it.tree import SyntaxTreeNode from readme_parser import ( _find_inline, @@ -13,9 +15,6 @@ render_inline_text, ) -from markdown_it import MarkdownIt -from markdown_it.tree import SyntaxTreeNode - def _parse_inline(md_text: str) -> list[SyntaxTreeNode]: """Helper: parse a single paragraph and return its inline children."""