TST: Travis/Coveralls setup (#10)
- add travis.yml - linting - coveralls - readme
This commit is contained in:
parent
8622e2323d
commit
983ce6f021
15 changed files with 107 additions and 50 deletions
|
@ -62,7 +62,10 @@ sqlite3.register_converter("dtdt", dtdt)
|
|||
|
||||
def setup_sqlite(dbfile):
|
||||
if os.path.exists(dbfile):
|
||||
db = sqlite3.connect(dbfile, detect_types=sqlite3.PARSE_DECLTYPES | sqlite3.PARSE_COLNAMES)
|
||||
db = sqlite3.connect(
|
||||
dbfile,
|
||||
detect_types=sqlite3.PARSE_DECLTYPES | sqlite3.PARSE_COLNAMES
|
||||
)
|
||||
db.row_factory = sqlite3.Row
|
||||
return db.cursor()
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue