Skip to content

Commit 2477399

Browse files
authored
Merge pull request #14 from nomad-coe/fix-commit
Linting fix
2 parents f725c02 + a2a8981 commit 2477399

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

systemnormalizer/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
class SystemNormalizerEntryPoint(NormalizerEntryPoint):
2222
def load(self):
23-
import systemnormalizer
24-
from .normalizer import SystemNormalizer
23+
import systemnormalizer # noqa
24+
from .normalizer import SystemNormalizer # noqa
2525

2626
systemnormalizer.SystemNormalizer = SystemNormalizer
2727

systemnormalizer/normalizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def query_springer_data(
537537
) -> Dict[str, Any]:
538538
"""Queries a msgpack database for springer-related quantities."""
539539
try:
540-
from nomad import archive
540+
from nomad import archive # noqa
541541
except ModuleNotFoundError:
542542
# Skip springer data, if the infrastructure dependencies are not available
543543
return {}

tests/test_systemnormalizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def test_vasp_incar_system():
389389
"""
390390
Ensure we can test an incar value in the VASP example
391391
"""
392-
import runschema
392+
import runschema # noqa
393393

394394
class Method(runschema.method.Method):
395395
m_def = Section(extends_base_section=True)

0 commit comments

Comments
 (0)