diff --git a/databaseparsers/__init__.py b/databaseparsers/__init__.py index 76873d6..ff1e995 100644 --- a/databaseparsers/__init__.py +++ b/databaseparsers/__init__.py @@ -29,10 +29,11 @@ class EntryPoint(ParserEntryPoint): This class must have a function `def parse(self, mainfile, archive, logger)`. """ ) - code_name: Optional[str] - code_homepage: Optional[str] - code_category: Optional[str] + code_name: Optional[str] = None + code_homepage: Optional[str] = None + code_category: Optional[str] = None metadata: Optional[dict] = Field( + None, description=""" Metadata passed to the UI. Deprecated. """ ) diff --git a/pyproject.toml b/pyproject.toml index 542abb0..5f85b21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,10 +10,10 @@ readme = "README.md" authors = [{ name = "The NOMAD Authors" }] license = { file = "LICENSE" } dependencies = [ - "nomad-lab>=1.3.6.dev1", + "nomad-lab>=1.3.7", "nomad-schema-plugin-simulation-workflow>=1.0.1", "nomad-schema-plugin-run>=1.0.1", - "pydantic>=1.10.8,<2.0.0", + "pydantic>=1.10.8", ] [project.urls] @@ -21,16 +21,13 @@ homepage = "https://github.com/nomad-coe/database-parsers" [project.optional-dependencies] tests = [ - "mypy==1.0.1", - "pylint==2.13.9", - "pylint_plugin_utils==0.5", - "pycodestyle==2.8.0", - "pytest==3.10.0", + "pytest>= 5.3.0, <= 8.0.2", "pytest-timeout==1.4.2", "pytest-cov==2.7.1", - "astroid==2.11.7", - "typing-extensions==4.4.0", - "ruff==0.1.8", + "astroid>=2.5.1", + 'mypy==1.0.1', + 'ruff>=0.6', + 'typing-extensions>=4.12', ] [tool.ruff]