Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill in gaps in type annotations. #235

Merged
merged 24 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
049e495
Make annotations in-source for classes.py
SethMMorton Dec 22, 2024
c544d87
Make annotations in-source for matchers.py
SethMMorton Dec 22, 2024
ee77cb3
Add annotations to masks.py
SethMMorton Dec 22, 2024
e0be2fc
Copy annotations from __init__.pyi to __init__.py
SethMMorton Dec 23, 2024
ee57d43
Correct annotation for Path.utime
SethMMorton Dec 23, 2024
d373f87
Eliminate attribute error type hint for _validate
SethMMorton Dec 23, 2024
0e61b7f
Replace Number with float or int
SethMMorton Dec 23, 2024
ee0084d
Fix error WRT to returned tuple elements
SethMMorton Dec 23, 2024
243f280
Cannot reassign different types to the same name
SethMMorton Dec 23, 2024
da5093e
Correct annotations around Handlers
SethMMorton Dec 23, 2024
e191025
Remove unneeded explict arguments for __exit__
SethMMorton Dec 23, 2024
318ef04
Fully annotate open
SethMMorton Dec 23, 2024
3c8382f
Correct call to contextlib.suppress
SethMMorton Dec 23, 2024
2a4adbf
Ignore type errors due to Multi mixin
SethMMorton Dec 23, 2024
fc92f97
Use sys.platform to conditionally add methods
SethMMorton Dec 23, 2024
ae3c7db
Use property as a decorator to define properties
SethMMorton Dec 23, 2024
cde1eaf
Ensure shutil-derived functions are properly typed
SethMMorton Dec 23, 2024
58c650e
Ignore unknown types for win32security
SethMMorton Dec 23, 2024
26819d2
Correct the startfile annotation
SethMMorton Dec 23, 2024
d7e6e20
Add some clean-up annotations
SethMMorton Dec 23, 2024
77b8af3
Fix type hinting for .joinpath
SethMMorton Dec 23, 2024
0f700b6
Account for Python 3.9 when defining unions
SethMMorton Dec 23, 2024
d63dc73
Directly implement get_owner
SethMMorton Dec 23, 2024
27c406b
Limit docs analysis warnings for newly added types
SethMMorton Dec 25, 2024
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
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
('py:class', 'OpenBinaryModeUpdating'),
('py:class', 'OpenBinaryModeWriting'),
('py:class', 'OpenTextMode'),
('py:class', '_IgnoreFn'),
('py:class', '_CopyFn'),
('py:class', '_Match'),
('py:class', '_OnErrorCallback'),
('py:class', '_OnExcCallback'),
('py:class', 'os.statvfs_result'),
('py:class', 'ModuleType'),
]

# Include Python intersphinx mapping to prevent failures
Expand Down
Loading
Loading