-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: make python versions consistent, add other systems (#494)
* ci: make python versions consistent, add other systems * ci: remove some of the macos runners * ci: fix typo * ci: fix typo * ci: remove pinned pre-commit deps
- Loading branch information
1 parent
58019e9
commit e7ab8f3
Showing
5 changed files
with
50 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
import matplotlib | ||
from packaging.version import parse as parse_version | ||
|
||
if parse_version(matplotlib.__version__) < parse_version("3.8.0"): | ||
from matplotlib import docstring # type: ignore[attr-defined] | ||
else: | ||
from matplotlib import _docstring as docstring # type: ignore[attr-defined] | ||
|
||
from matplotlib import _docstring as docstring # type: ignore[attr-defined] | ||
|
||
__all__ = ("docstring",) |