Skip to content
Snippets Groups Projects
Commit 240b20da authored by Craig Tiller's avatar Craig Tiller
Browse files

Review feedback

parent 14d59ac2
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@
import subprocess
import datetime
# this script is only of historical interest: it's the script that was used to
# bootstrap the dataset
def daterange(start, end):
for n in range(int((end - start).days)):
yield start + datetime.timedelta(n)
......
......@@ -31,6 +31,6 @@
set -ex
cloc --vcs=git --by-file --yaml --out=cloc.yaml .
tools/line_count/yaml2csv -i cloc.yaml -d `date +%Y-%m-%d` -o cloc.csv
tools/line_count/yaml2csv.py -i cloc.yaml -d `date +%Y-%m-%d` -o cloc.csv
bq load line_counts.grpc cloc.csv
......@@ -32,6 +32,9 @@
import subprocess
import datetime
# this script is only of historical interest: it's the script that was used to
# bootstrap the dataset
def daterange(start, end):
for n in range(int((end - start).days)):
yield start + datetime.timedelta(n)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment