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

[bugfix]: Fix type hint errors in Features.py (backport #5556) #5557

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 18, 2024

Description

  • Use Union instead of |
  • Squence[float] and NDArray for point

Backporting

This change should be backported to the previous releases, please add the relevant labels.
Refer here to resolve backport conflicts if any.

  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024

This is an automatic backport of pull request #5556 done by [Mergify](https://mergify.com).

* [bugfix]: Fix type hint errors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [revert]: Use '|' instead of Union

* [revert]: undo some unwanted changes

* Fix pre-commit errors

---------

Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 74fc5c1)
@mergify mergify bot added 2023 backport Backport pull request created by Mergify labels Mar 18, 2024
@keywordlabeler keywordlabeler bot added backport-to-2016 Backport to 2016 branch backport-to-2017 Backport to 2017 branch backport-to-2018 Backport to 2018 branch backport-to-2019 Backport to 2019 branch backport-to-2020 Backport to 2020 branch backport-to-2021 Backport to 2021 branch backport-to-2022 Backport to 2022 branch backport-to-2023 Backport to 2023 branch bugfix labels Mar 18, 2024
@mergify mergify bot merged commit b928ab6 into 2023 Mar 18, 2024
1 of 3 checks passed
@mergify mergify bot deleted the mergify/bp/2023/pr-5556 branch March 18, 2024 13:45
@haiiliin haiiliin removed backport-to-2016 Backport to 2016 branch backport-to-2017 Backport to 2017 branch backport-to-2018 Backport to 2018 branch backport-to-2019 Backport to 2019 branch backport-to-2020 Backport to 2020 branch backport-to-2021 Backport to 2021 branch backport-to-2022 Backport to 2022 branch backport-to-2023 Backport to 2023 branch labels Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023 backport Backport pull request created by Mergify bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants