Skip to content

Commit

Permalink
update pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
blueraft committed Jan 23, 2025
1 parent ad99184 commit 800c73e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 4 additions & 3 deletions atomisticparsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. """
)
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@ dependencies = [
"mdanalysis<2.8 ; python_full_version < '3.10'",
"panedr>=0.2",
"scipy>=1.7.1",
"pydantic>=1.10.8,<2.0.0",
"pydantic>=1.10.8",
]

[project.urls]
homepage = "https://github.com/nomad-coe/atomistic-parsers"

[project.optional-dependencies]
dev = [
"pylint==2.13.9",
"pylint_plugin_utils==0.7",
"pycodestyle==2.8.0",
"pytest>= 5.3.0, <= 8.0.2",
"pytest-timeout==1.4.2",
"pytest-cov==2.7.1",
Expand Down

0 comments on commit 800c73e

Please sign in to comment.