diff --git a/chrononaut/history_mapper.py b/chrononaut/history_mapper.py index d2479cb..33e9c3b 100644 --- a/chrononaut/history_mapper.py +++ b/chrononaut/history_mapper.py @@ -67,8 +67,8 @@ def _col_copy(col): version_meta = {"version_meta": True} for column in local_mapper.local_table.c: - if ('version_meta' in column.info or - column.key in hidden_cols or + if ('version_meta' in column.info or # noqa + column.key in hidden_cols or # noqa column.key in untracked_cols): continue diff --git a/docs/conf.py b/docs/conf.py index 50d5c09..94e6290 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,9 +56,9 @@ # built documents. # # The short X.Y version. -version = u'0.2.2' +version = u'0.2.3' # The full version, including alpha/beta/rc tags. -release = u'0.2.2' +release = u'0.2.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 701413b..5d71ade 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ """ from setuptools import setup, find_packages -__version__ = '0.2.2' +__version__ = '0.2.3' setup( diff --git a/tests/conftest.py b/tests/conftest.py index 409abb3..251b314 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,7 +19,7 @@ def app(request): 'SQLALCHEMY_DATABASE_URI', 'postgres://postgres@localhost/chrononaut_test' ) - app.config['SECRET_KEY'] = '+BU9wMx=xvD\YV' + app.config['SECRET_KEY'] = '+BU9wMx=xvD\\YV' app.config['LOGIN_DISABLED'] = False app.config['WTF_CSRF_ENABLED'] = False ctx = app.app_context() diff --git a/tests/test_basic.py b/tests/test_basic.py index 57efb83..67c5cc4 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -11,7 +11,7 @@ def test_unversioned_db_fixture(unversioned_db): """ assert unversioned_db.__class__ == flask_sqlalchemy.SQLAlchemy assert unversioned_db.session.__class__ == sqlalchemy.orm.scoping.scoped_session - assert (unversioned_db.session.session_factory().__class__.__name__ == + assert (unversioned_db.session.session_factory().__class__.__name__ == # noqa flask_sqlalchemy.SignallingSession.__name__) @@ -20,7 +20,7 @@ def test_db_fixture(db): """ assert db.__class__ == chrononaut.VersionedSQLAlchemy assert db.session.__class__ == sqlalchemy.orm.scoping.scoped_session - assert (db.session.session_factory().__class__.__name__ == + assert (db.session.session_factory().__class__.__name__ == # noqa chrononaut.VersionedSignallingSession.__name__) @@ -35,7 +35,7 @@ def test_table_names(db, session): """Check that all expected tables are being generated, including custom `__chrononaut_tablename__` settings """ - assert (set(db.metadata.tables.keys()) == + assert (set(db.metadata.tables.keys()) == # noqa {'report', 'rep_history', 'todos', 'todos_history', 'unversioned_todos', 'special_todo', 'special_todo_history', 'appuser', 'appuser_history', 'role', 'role_history', 'roles_users',