bump utils

also remove the `read().splitlines()` pattern from csv.reader usage,
as it's redundant. also add .vscode to gitignore to accomodate my
hipster IDE choices, and add some lines to pytest.ini so just running
`py.test` uses some useful flags
This commit is contained in:
Leo Hemsted
2019-08-02 12:41:03 +01:00
parent 832ca8775f
commit 9726edf68d
5 changed files with 12 additions and 10 deletions

View File

@@ -836,7 +836,7 @@ def populate_go_live(file_name):
print("Populate go live user and date")
with open(file_name, 'r') as f:
rows = csv.reader(
f.read().splitlines(),
f,
quoting=csv.QUOTE_MINIMAL,
skipinitialspace=True,
)