From b90723c9c4da098386d39035cb146871f43bf1ad Mon Sep 17 00:00:00 2001 From: Pepe Marquez <64071335+Pepe-Marquez@users.noreply.github.com> Date: Mon, 27 May 2024 20:08:51 +0000 Subject: [PATCH] Ruffing --- src/nomad_unisyscat/parsers/myparser.py | 4 +--- src/nomad_unisyscat/schema_packages/__init__.py | 2 +- tests/apps/test_app.py | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/nomad_unisyscat/parsers/myparser.py b/src/nomad_unisyscat/parsers/myparser.py index fb42c04..a5d41b0 100644 --- a/src/nomad_unisyscat/parsers/myparser.py +++ b/src/nomad_unisyscat/parsers/myparser.py @@ -14,9 +14,7 @@ from nomad.datamodel.results import Material, Results from nomad.parsing.parser import MatchingParser -configuration = config.get_plugin_entry_point( - 'nomad_unisyscat.parsers:myparser' -) +configuration = config.get_plugin_entry_point('nomad_unisyscat.parsers:myparser') class MyParser(MatchingParser): diff --git a/src/nomad_unisyscat/schema_packages/__init__.py b/src/nomad_unisyscat/schema_packages/__init__.py index 859e30e..a545d4f 100644 --- a/src/nomad_unisyscat/schema_packages/__init__.py +++ b/src/nomad_unisyscat/schema_packages/__init__.py @@ -7,7 +7,7 @@ class MySchemaPackageEntryPoint(SchemaPackageEntryPoint): def load(self): from nomad_unisyscat.schema_packages.mypackage import m_package - + return m_package diff --git a/tests/apps/test_app.py b/tests/apps/test_app.py index 82fbe45..733da3b 100644 --- a/tests/apps/test_app.py +++ b/tests/apps/test_app.py @@ -1,4 +1,3 @@ def test_importing_app(): # this will raise an exception if pydantic model validation fails for th app from nomad_unisyscat.apps import myapp -