Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
minhkhul committed Oct 29, 2024
1 parent 3cbec82 commit 1071cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions nssp/delphi_nssp/pull.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
"""Functions for pulling NSSP ER data."""
from typing import Optional
import logging
import textwrap
from typing import Optional

import pandas as pd
from sodapy import Socrata
from delphi_utils import create_backup_csv
from sodapy import Socrata

from .constants import NEWLINE, SIGNALS, SIGNALS_MAP, TYPE_DICT

Expand Down
7 changes: 1 addition & 6 deletions nssp/delphi_nssp/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,7 @@ def run_module(params):
run_stats = []
## build the base version of the signal at the most detailed geo level you can get.
## compute stuff here or farm out to another function or file
df_pull = pull_nssp_data(
socrata_token,
backup_dir,
custom_run=custom_run,
logger=logger
)
df_pull = pull_nssp_data(socrata_token, backup_dir, custom_run=custom_run, logger=logger)
## aggregate
geo_mapper = GeoMapper()
for signal in SIGNALS:
Expand Down

0 comments on commit 1071cb3

Please sign in to comment.