8000 wip · pythonthings/q@8dce1eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 8dce1eb

Browse files
committed
wip
1 parent c61b4f0 commit 8dce1eb

File tree

4 files changed

+100
-94
lines changed

4 files changed

+100
-94
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ language: python
22
python:
33
- "2.7"
44
- "3.6"
5+
- "3.7"
56
matrix:
67
allow_failures:
78
- python: "3.6"
8-
install: pip install flake8
9+
- python: "3.7"
10+
install: pip install -r requirements
911
before_script: flake8 ./bin/q --count --select=E901,E999,F821,F822,F823 --show-source --statistics
1012
script: test/test-all

bin/q

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ class Sqlite3DB(object):
133133
for s in self.conn.iterdump():
134134
c.execute(s)
135135
results = c.fetchall()
136-
#print "executed %s results %s " % (s,results)
137-
for source_filename_str,tn in table_names_mapping.iteritems():
136+
for source_filename_str,tn in six.iteritems(table_names_mapping):
138137
c.execute('alter table `%s` rename to `%s`' % (tn, source_filename_str))
139138
new_db.close()
140139

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
six==1.11.0
2+
flake8==3.6.0

0 commit comments

Comments
 (0)
0