mirror of
https://github.com/yandex/pgmigrate.git
synced 2024-09-19 08:07:22 +03:00
Fix flake8 checks
This commit is contained in:
parent
c05d66574f
commit
21849625b2
@ -84,6 +84,7 @@ class BaselineError(MigrateError):
|
||||
'''
|
||||
pass
|
||||
|
||||
|
||||
REF_COLUMNS = ['version', 'description', 'type',
|
||||
'installed_by', 'installed_on']
|
||||
|
||||
@ -120,6 +121,7 @@ def _is_initialized(cursor):
|
||||
|
||||
return True
|
||||
|
||||
|
||||
MIGRATION_FILE_RE = re.compile(
|
||||
r'V(?P<version>\d+)__(?P<description>.+)\.sql$'
|
||||
)
|
||||
@ -576,6 +578,7 @@ def migrate(config):
|
||||
|
||||
_finish(config)
|
||||
|
||||
|
||||
COMMANDS = {
|
||||
'info': info,
|
||||
'clean': clean,
|
||||
@ -662,5 +665,6 @@ def _main():
|
||||
|
||||
COMMANDS[args.cmd](config)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
_main()
|
||||
|
Loading…
Reference in New Issue
Block a user