Skip to content

Commit 7eefb94

Browse files
remove testing comments, clean up changed files
1 parent 6afce23 commit 7eefb94

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ repos:
2020
- python
2121
# Suppress SyntaxWarning about invalid escape sequence from calitp-data-infra dependency without modifying source
2222
entry: env PYTHONWARNINGS="ignore::SyntaxWarning" flake8
23-
2423
- repo: https://github.com/psf/black
2524
rev: 23.1.0
2625
hooks:

airflow/dags/sync_ntd_data_xlsx/scrape_ntd_ridership_xlsx_url.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ def scrape_ntd_ridership_xlsx_url(**context):
2828
req = requests.get(url)
2929
soup = BeautifulSoup(req.text, "html.parser")
3030

31-
# # Look for an anchor tag where the href ends with '.xlsx' and starts with '/sites/fta.dot.gov/files/'
32-
# link = soup.find(
33-
# "a",
34-
# href=lambda href: (
35-
# href
36-
# and href.startswith("/sites/fta.dot.gov/files/")
37-
# and href.endswith(".xlsx")
38-
# ),
39-
# )
4031
link = soup.find("a", href=href_matcher)
4132

4233
# Extract the href if the link is found

0 commit comments

Comments
 (0)