This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 2f5512c24a7aa83ccff9c43ff890d1ee16d1bf11 (commit)
via e5e281a23bc3818fd45bf2e02d31ac9bf919ef12 (commit)
from 747da169fd122facf9b1b46af5f420867bd4e8d7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/2f5512c24a7aa83ccff9c43ff890d1ee16d1bf11
commit 2f5512c24a7aa83ccff9c43ff890d1ee16d1bf11
Author: Oleg Broytman <ph...@ph...>
Date: Sat Feb 14 15:38:05 2015 +0300
Fix #50 flake8 E401 multiple imports on one line
diff --git a/docs/test.py b/docs/test.py
index a6e475e..bf43dfa 100644
--- a/docs/test.py
+++ b/docs/test.py
@@ -1,5 +1,6 @@
-import sys, os
import doctest
+import os
+import sys
sys.path.insert(
0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
diff --git a/setup.cfg b/setup.cfg
index 152719d..10ad420 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,10 +11,9 @@ tag_svn_revision = 0
exclude = .git,docs/europython/*.py,ez_setup.py
; Ignore:
-; E401 multiple imports on one line
; F403 'from module import *' used; unable to detect undefined names
; F822 undefined name in __all__
-ignore = E401,F403,F822
+ignore = F403,F822
[pudge]
theme = pythonpaste.org
diff --git a/sqlobject/mysql/mysqlconnection.py b/sqlobject/mysql/mysqlconnection.py
index 512e36e..ea83c56 100644
--- a/sqlobject/mysql/mysqlconnection.py
+++ b/sqlobject/mysql/mysqlconnection.py
@@ -19,7 +19,7 @@ class MySQLConnection(DBAPI):
schemes = [dbName]
def __init__(self, db, user, password='', host='localhost', port=0, **kw):
- import MySQLdb, MySQLdb.constants.CR, MySQLdb.constants.ER
+ import MySQLdb, MySQLdb.constants.CR, MySQLdb.constants.ER # noqa
self.module = MySQLdb
self.host = host
self.port = port
http://sourceforge.net/p/sqlobject/sqlobject/ci/e5e281a23bc3818fd45bf2e02d31ac9bf919ef12
commit e5e281a23bc3818fd45bf2e02d31ac9bf919ef12
Author: Oleg Broytman <ph...@ph...>
Date: Sat Feb 14 15:34:23 2015 +0300
Fixed in #3: W603 '<>' is deprecated, use '!='
Also already fixed:
E123 closing bracket does not match indentation
E226 missing whitespace around arithmetic operator
diff --git a/setup.cfg b/setup.cfg
index dc56a50..152719d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,13 +11,10 @@ tag_svn_revision = 0
exclude = .git,docs/europython/*.py,ez_setup.py
; Ignore:
-; E123 closing bracket does not match indentation of opening bracket's line
-; E226 missing whitespace around arithmetic operator
; E401 multiple imports on one line
; F403 'from module import *' used; unable to detect undefined names
; F822 undefined name in __all__
-; W603 '<>' is deprecated, use '!='
-ignore = E123,E226,E401,F403,F822,W603
+ignore = E401,F403,F822
[pudge]
theme = pythonpaste.org
-----------------------------------------------------------------------
Summary of changes:
docs/test.py | 3 ++-
setup.cfg | 6 +-----
sqlobject/mysql/mysqlconnection.py | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
hooks/post-receive
--
SQLObject development repository
|