Skip to content

Commit b35f31d

Browse files
thodson-usgsclaude
andcommitted
chore: fix latent trailing whitespace and missing EOF newlines
Auto-fixes from the new pre-commit hooks (trailing-whitespace, end-of-file-fixer). Touched files are docs (.rst, .nblink), the README code snippets, .gitignore, the nwqn Dockerfile, and the py.typed marker. No behavior changes; this clears the slate so future commits don't trip the hook on day one. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9a8630f commit b35f31d

28 files changed

Lines changed: 30 additions & 31 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ ENV/
111111
.mypy_cache/
112112

113113
# macOS
114-
*.DS_Store
114+
*.DS_Store

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ from dataretrieval import waterdata
5959

6060
# Get daily streamflow data (returns DataFrame and metadata)
6161
df, metadata = waterdata.get_daily(
62-
monitoring_location_id='USGS-01646500',
62+
monitoring_location_id='USGS-01646500',
6363
parameter_code='00060', # Discharge
6464
time='2024-10-01/2025-09-30'
6565
)
@@ -98,7 +98,7 @@ windows to avoid timeouts and other issues:
9898
```python
9999
# Get continuous data for a single monitoring location and water year
100100
df, metadata = waterdata.get_continuous(
101-
monitoring_location_id='USGS-01646500',
101+
monitoring_location_id='USGS-01646500',
102102
parameter_code='00065', # Gage height
103103
time='2024-10-01/2025-09-30'
104104
)
@@ -152,7 +152,7 @@ from dataretrieval import nldi
152152
# Get watershed basin for a stream reach
153153
basin = nldi.get_basin(
154154
feature_source='comid',
155-
feature_id='13293474' # NHD reach identifier
155+
feature_id='13293474' # NHD reach identifier
156156
)
157157

158158
print(f"Basin contains {len(basin)} feature(s)")
@@ -184,7 +184,7 @@ print(f"Found {len(flowlines)} upstream tributaries within 50km")
184184
### Legacy NWIS Services (Deprecated)
185185
- **Daily values (dv)**: Legacy daily statistical data
186186
- **Instantaneous values (iv)**: Legacy continuous data
187-
- **Site info (site)**: Basic site information
187+
- **Site info (site)**: Basic site information
188188
- **Statistics (stat)**: Statistical summaries
189189
- **Discharge peaks (peaks)**: Annual peak discharge events
190190

dataretrieval/py.typed

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

demos/nwqn_data_pull/Dockerfile_dataretrieval

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ COPY requirements.txt requirements.txt
5656
RUN pip install --no-cache-dir -r requirements.txt
5757

5858
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
59-
CMD [ "handler.entry_point.lambda_handler" ]
59+
CMD [ "handler.entry_point.lambda_handler" ]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_DailyValues_Examples.ipynb"
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_GroundwaterLevels_Examples.ipynb"
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_Measurements_Examples.ipynb"
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_ParameterCodes_Examples.ipynb"
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_Peaks_Examples.ipynb"
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"path": "../../../demos/hydroshare/USGS_WaterData_Ratings_Examples.ipynb"
3-
}
3+
}

0 commit comments

Comments
 (0)