File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ pathspec.pathspec
1919 :show-inheritance:
2020 :special-members: __init__, __eq__, __len__
2121
22+ .. autoclass :: Self
23+
2224
2325pathspec.gitignore
2426------------------
@@ -31,6 +33,7 @@ pathspec.gitignore
3133 :show-inheritance:
3234 :special-members: __init__, __eq__, __len__
3335
36+ .. autoclass :: Self
3437
3538pathspec.backend
3639----------------
Original file line number Diff line number Diff line change 2828# Add any Sphinx extension module names here, as strings. They can be
2929# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3030# ones.
31- extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.intersphinx' , 'sphinx.ext.viewcode' ]
31+ extensions = [
32+ 'sphinx.ext.autodoc' ,
33+ 'sphinx.ext.intersphinx' ,
34+ 'sphinx.ext.viewcode' ,
35+ ]
3236
3337# The autodoc extension doesn't understand the `Self` typehint.
3438# To avoid documentation build errors, autodoc typehints must be disabled.
Original file line number Diff line number Diff line change 6060 "Sebastien Eskenazi <https://github.com/SebastienEske>" ,
6161 "Bar Vered <https://github.com/barv-jfrog>" ,
6262 "Tzach Shabtay <https://github.com/tzachshabtay>" ,
63- "Adam Dangoor <https://github.com/adamtheturtle>"
63+ "Adam Dangoor <https://github.com/adamtheturtle>" ,
64+ "Marcel Telka <https://github.com/mtelka>" ,
6465]
6566__license__ = "MPL 2.0"
Original file line number Diff line number Diff line change 4040
4141Self = TypeVar ("Self" , bound = 'GitIgnoreSpec' )
4242"""
43- :class:`GitIgnoreSpec` self type hint to support Python v<3.11 using PEP 673
43+ :class:`. GitIgnoreSpec` self type hint to support Python v<3.11 using PEP 673
4444recommendation.
4545"""
4646
Original file line number Diff line number Diff line change 2020
2121Self = TypeVar ("Self" , bound = 'PathSpec' )
2222"""
23- :class:`PathSpec` self type hint to support Python v<3.11 using PEP 673
23+ :class:`. PathSpec` self type hint to support Python v<3.11 using PEP 673
2424recommendation.
2525"""
2626
Original file line number Diff line number Diff line change 2222
2323RegexPatternSelf = TypeVar ("RegexPatternSelf" , bound = 'RegexPattern' )
2424"""
25- :class:`RegexPattern` self type hint to support Python v<3.11 using PEP 673
25+ :class:`. RegexPattern` self type hint to support Python v<3.11 using PEP 673
2626recommendation.
2727"""
2828
You can’t perform that action at this time.
0 commit comments