Skip to content
New issue

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

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

Already on GitHub? # to your account

Typing overrides #400

Merged
merged 9 commits into from
Oct 15, 2024
Merged

Typing overrides #400

merged 9 commits into from
Oct 15, 2024

Conversation

AdrianSosic
Copy link
Collaborator

Let's replace our See base class hints with a more modern variant that actually uses the type system, as now enabled via PEP 698. Until we drop Python 3.11, this is achieved via the typing_extensions backport.

@AdrianSosic AdrianSosic added the typing Typing related things label Oct 11, 2024
@AdrianSosic AdrianSosic self-assigned this Oct 11, 2024
mypy.ini Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
Copy link
Collaborator

@AVHopp AVHopp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to CONTRIBUTING is necessary imo

baybe/constraints/conditions.py Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
baybe/objectives/deprecation.py Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
baybe/surrogates/_adapter.py Outdated Show resolved Hide resolved
baybe/surrogates/_adapter.py Show resolved Hide resolved
@AdrianSosic AdrianSosic merged commit a12b57b into main Oct 15, 2024
11 checks passed
@AdrianSosic AdrianSosic deleted the typing/override branch October 15, 2024 14:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
typing Typing related things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants