Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.errors.DuplicateLabelError SA01" \
-i "pandas.errors.IntCastingNaNError SA01" \
-i "pandas.errors.InvalidIndexError SA01" \
-i "pandas.errors.InvalidVersion SA01" \
-i "pandas.errors.NullFrequencyError SA01" \
-i "pandas.errors.NumExprClobberingError SA01" \
-i "pandas.errors.NumbaUtilError SA01" \
Expand Down
8 changes: 8 additions & 0 deletions pandas/util/version/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@ class InvalidVersion(ValueError):
"""
An invalid version was found, users should refer to PEP 440.

The ``InvalidVersion`` exception is raised when a version string is
improperly formatted. Pandas uses this exception to ensure that all
version strings are PEP 440 compliant.

See Also
--------
util.version.Version : Class for handling and parsing version strings.

Examples
--------
>>> pd.util.version.Version("1.")
Expand Down