pytest-dev / pytest-bdd

BDD library for the pytest runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.32k stars 221 forks source link

fix(typing): improve decorator type hinting (Sourcery refactored) #653

Closed sourcery-ai[bot] closed 12 months ago

sourcery-ai[bot] commented 1 year ago

Pull Request #646 refactored by Sourcery.

Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it.

To incorporate these changes, you can either:

  1. Merge this Pull Request instead of the original, or

  2. Ask your contributor to locally incorporate these commits and push them to the original Pull Request

    Incorporate changes via command line
    git fetch https://github.com/pytest-dev/pytest-bdd pull/646/head
    git merge --ff-only FETCH_HEAD
    git push

NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Help us improve this pull request!

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5707669) 95.45% compared to head (ebd76f5) 96.21%. Report is 14 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #653 +/- ## ========================================== + Coverage 95.45% 96.21% +0.75% ========================================== Files 49 49 Lines 1783 1874 +91 Branches 195 250 +55 ========================================== + Hits 1702 1803 +101 + Misses 53 49 -4 + Partials 28 22 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.