Skip to content

Commit a89103d

Browse files
peda-cospre-commit-ci[bot]cclauss
authored
fix: instagram_crawler.py declares 3.13 but uses 3.14 except syntax (#15551)
* fix: parenthesize multi-catch that only parses on 3.14 PEP 758 syntax requires Python 3.14, but the script metadata declares requires-python >= 3.13. Reported by ty check run per #15187. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update required Python version in instagram_crawler.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent f6b39e1 commit a89103d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎web_programming/instagram_crawler.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#!/usr/bin/env python3
22

33
# /// script
4-
# requires-python = ">=3.13"
4+
# requires-python = ">=3.15"
55
# dependencies = [
66
# "beautifulsoup4",
77
# "fake-useragent",
88
# "httpx2",
99
# ]
1010
# ///
1111

12-
from __future__ import annotations
13-
1412
import json
1513

1614
import httpx2

0 commit comments

Comments
 (0)