Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

False negatives for E702 #116

Closed
JensRantil opened this Issue Jul 27, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Contributor

JensRantil commented Jul 27, 2012

The code

   self.conn.execute('''
        CREATE TABLE IF NOT EXISTS events(
            eventid INTEGER PRIMARY KEY AUTOINCREMENT,
            uuid TEXT UNIQUE,
            event BLOB
        );
    ''');

yields error

E702 multiple statements on one line (semicolon)

. The issue is that the multiline string contains a semicolon.

Contributor

JensRantil commented Jul 27, 2012

Most certainly, this error can be stripped down to something simpler.

Contributor

JensRantil commented Jul 27, 2012

Seems to not be the issue I was expecting. The issue was that the statement ended with a ;.

@JensRantil JensRantil closed this Jul 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment