Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2023
1 parent b0a94f5 commit 19ae471
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion morepath/error.py
Expand Up @@ -30,7 +30,6 @@ class AutoImportError(ConfigError):
"""Raised when Morepath fails to import a module during autoscan."""

def __init__(self, module_name):

msg = """\
Morepath wanted to import '{}' during auto-configuration, but
no such module could be imported.
Expand Down
1 change: 0 additions & 1 deletion morepath/tests/test_autosetup.py
Expand Up @@ -31,7 +31,6 @@ def test_import():


def test_load_distribution():

Distribution = namedtuple("Distribution", ["project_name"])

assert import_package(Distribution("base")).m.App is App
Expand Down
3 changes: 0 additions & 3 deletions morepath/tests/test_init_settings.py
Expand Up @@ -6,7 +6,6 @@


def test_init_settings():

settings_dict = {
"foo": {"enable_foo": True, "engine": "ADVANCED"},
"bar": {"space": "huge", "security": False},
Expand Down Expand Up @@ -85,7 +84,6 @@ class Beta(Alpha):


def test_section_settings_conflict():

settings = {
"foo": {"enable_foo": True, "engine": "ADVANCED"},
"bar": {"space": "huge", "security": False},
Expand All @@ -105,7 +103,6 @@ def get_foo_setting():


def test_extentions_settings():

settings_dict = settings_file.settings

class App(morepath.App):
Expand Down
1 change: 0 additions & 1 deletion morepath/tests/test_model.py
Expand Up @@ -190,7 +190,6 @@ def test_argument_and_explicit_converters_explicit():


def test_argument_and_explicit_converters_from_type():

reg = ConverterRegistry()
reg.register_converter(int, Converter(int))

Expand Down

0 comments on commit 19ae471

Please sign in to comment.