Skip to content

Commit 38a5a10

Browse files
authored
Merge pull request #378 from cmu-delphi/sg-patterns-docs
Update safegraph patterns docstrings to pass pydocstyle
2 parents ddadab2 + b485327 commit 38a5a10

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

safegraph_patterns/delphi_safegraph_patterns/process.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
"""Process and export Safegraph patterns signal."""
23
import glob
34
from itertools import product
45

@@ -122,8 +123,9 @@ def aggregate(df, metric, geo_res):
122123
def process(fname, sensors, metrics, geo_resolutions,
123124
export_dir, brand_df):
124125
"""
125-
Process an input census block group-level CSV and export it. Assumes
126-
that the input file has _only_ one date of data.
126+
Process an input census block group-level CSV and export it.
127+
128+
Assumes that the input file has _only_ one date of data.
127129
128130
Parameters
129131
----------

safegraph_patterns/delphi_safegraph_patterns/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040

4141
def run_module():
42-
42+
"""Run module for Safegraph patterns data."""
4343
params = read_params()
4444
export_dir = params["export_dir"]
4545
raw_data_dir = params["raw_data_dir"]

0 commit comments

Comments
 (0)