From 66fe65448a6962ebb99f8ef91c432af122af653e Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 24 Jan 2017 17:06:12 -0500 Subject: [PATCH 1/2] STY: Flake8. --- pgcontents/alembic/env.py | 1 + pgcontents/tests/test_pgcontents_api.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pgcontents/alembic/env.py b/pgcontents/alembic/env.py index 85a19b8..a301591 100644 --- a/pgcontents/alembic/env.py +++ b/pgcontents/alembic/env.py @@ -75,6 +75,7 @@ def run_migrations_online(): finally: connection.close() + if context.is_offline_mode(): run_migrations_offline() else: diff --git a/pgcontents/tests/test_pgcontents_api.py b/pgcontents/tests/test_pgcontents_api.py index 3eeffc9..e196e53 100644 --- a/pgcontents/tests/test_pgcontents_api.py +++ b/pgcontents/tests/test_pgcontents_api.py @@ -485,5 +485,6 @@ def test_crypto_types(self): FernetEncryption, ) + # This needs to be removed or else we'll run the main IPython tests as well. del APITest From d707f064cadbbc84415cd9f965ad80fb6d6996e8 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 24 Jan 2017 17:01:08 -0500 Subject: [PATCH 2/2] REL: Release 0.5.0. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2aef917..e92ee40 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def main(): setup( name='pgcontents', - version='0.4.0', + version='0.5.0', description="A Postgres-backed ContentsManager for IPython/Jupyter.", long_description=long_description, author="Scott Sanderson",