Skip to content

Update safegraph patterns docstrings to pass pydocstyle #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions safegraph_patterns/delphi_safegraph_patterns/process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
"""Process and export Safegraph patterns signal."""
import glob
from itertools import product

Expand Down Expand Up @@ -122,8 +123,9 @@ def aggregate(df, metric, geo_res):
def process(fname, sensors, metrics, geo_resolutions,
export_dir, brand_df):
"""
Process an input census block group-level CSV and export it. Assumes
that the input file has _only_ one date of data.
Process an input census block group-level CSV and export it.

Assumes that the input file has _only_ one date of data.

Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion safegraph_patterns/delphi_safegraph_patterns/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


def run_module():

"""Run module for Safegraph patterns data."""
params = read_params()
export_dir = params["export_dir"]
raw_data_dir = params["raw_data_dir"]
Expand Down