diff --git a/inventory_project/publish.py b/inventory_project/publish.py index c3ef5da..9d000ba 100644 --- a/inventory_project/publish.py +++ b/inventory_project/publish.py @@ -24,8 +24,8 @@ def publish(): Call this via: $ poetry run publish """ - #verbose_check_call('make', 'pytest') # don't publish if tests fail - #verbose_check_call('make', 'fix-code-style') # don't publish if code style wrong + verbose_check_call('make', 'pytest') # don't publish if tests fail + verbose_check_call('make', 'fix-code-style') # don't publish if code style wrong poetry_publish( package_root=PACKAGE_ROOT, diff --git a/inventory_project/settings.py b/inventory_project/settings.py index a5f3115..f787d61 100644 --- a/inventory_project/settings.py +++ b/inventory_project/settings.py @@ -1,9 +1,8 @@ -''' +""" Django settings -''' +""" import logging -import sys as __sys from pathlib import Path as __Path from debug_toolbar.settings import CONFIG_DEFAULTS as DEBUG_TOOLBAR_CONFIG diff --git a/inventory_tests/settings.py b/inventory_tests/settings.py index bbd00b0..df906c3 100644 --- a/inventory_tests/settings.py +++ b/inventory_tests/settings.py @@ -1,3 +1,4 @@ from inventory_project.settings import * # noqa + DEBUG = True