Skip to content

Commit

Permalink
📝 Add docstrings on version.py (#6070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Jun 9, 2023
1 parent 459b6c6 commit 331ebe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pydantic/version.py
@@ -1,9 +1,12 @@
"""The `version` module holds the version information for Pydantic."""
__all__ = 'VERSION', 'version_info'

VERSION = '2.0b2'
"""The version of Pydantic."""


def version_info() -> str:
"""Return complete version information for Pydantic and its dependencies."""
import platform
import sys
from importlib import import_module
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Expand Up @@ -185,7 +185,6 @@ convention = "google"
'pydantic/root_model.py' = ['D']
'pydantic/type_adapter.py' = ['D']
'pydantic/types.py' = ['D']
'pydantic/version.py' = ['D']

[tool.coverage.run]
source = ['pydantic']
Expand Down

0 comments on commit 331ebe0

Please sign in to comment.