Add typing and update docs for condition operators.

Review Request #14265 — Created Dec. 11, 2024 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

Condition operators are now fully typed, making it easier to subclass
without any typing issues. Some of the documentation has also been
updated to better style correctly when generating docs.

There are some types we have to ignore, due to type checkers being
unhappy with overriding a property with a value. Separate work will need
to be done to address this.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add typing and update docs for condition operators.
Condition operators are now fully typed, making it easier to subclass without any typing issues. Some of the documentation has also been updated to better style correctly when generating docs. There are some types we have to ignore, due to type checkers being unhappy with overriding a property with a value. Separate work will need to be done to address this.
303815f736c27dba37ea20d90d90e96ce370b8a8 Christian Hammond
djblets/conditions/operators.py
djblets/conditions/tests/test_operators.py
Loading...