From: Peter Marsh Date: Sun, 24 Sep 2017 15:35:20 +0000 (+0100) Subject: Fix flake8 E265 violation in multidb env.py template X-Git-Tag: rel_0_9_6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=529cd45dbd6c78a4bd64f1b99a7b7bd6544564a7;p=thirdparty%2Fsqlalchemy%2Falembic.git Fix flake8 E265 violation in multidb env.py template flake8 detected the following violation in env.py for multidb projects: multidb/env.py:34:1: E265 block comment should start with '# ' #} ^ This fixes the violation in the template, so fresh multidb projects will no longer have this violation. --- diff --git a/alembic/templates/multidb/env.py b/alembic/templates/multidb/env.py index 453b41cc..db24173f 100644 --- a/alembic/templates/multidb/env.py +++ b/alembic/templates/multidb/env.py @@ -31,7 +31,7 @@ db_names = config.get_main_option('databases') # target_metadata = { # 'engine1':mymodel.metadata1, # 'engine2':mymodel.metadata2 -#} +# } target_metadata = {} # other values from the config, defined by the needs of env.py,