Skip to content

Commit

Permalink
Bump for version 0.2.3 and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
polyatail committed Jan 23, 2019
1 parent 84acec2 commit b634fc5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions chrononaut/history_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""
from setuptools import setup, find_packages

__version__ = '0.2.2'
__version__ = '0.2.3'


setup(
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)


Expand All @@ -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__)


Expand All @@ -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',
Expand Down

0 comments on commit b634fc5

Please sign in to comment.