codecov / codecov-cli

Codecov's Command Line Interface. Used for uploading to Codecov in your CI, Test Labelling, Local Upload, and more
Apache License 2.0
56 stars 39 forks source link

Slightly improve `FileFinder` typing #509

Closed Swatinem closed 2 months ago

Swatinem commented 2 months ago

This fixes a bunch of typing errors, as well as auto-reformats a bunch of stuff via the precommit hook.

github-actions[bot] commented 2 months ago

:x: Failed Test Results:

Completed 697 tests with 1 failed, 696 passed and 0 skipped.

View the full list of failed tests | **Test Description** | **Failure message** | | :-- | :-- | |
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
|
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
|
github-actions[bot] commented 2 months ago

:x: Failed Test Results:

Completed 697 tests with 1 failed, 696 passed and 0 skipped.

View the full list of failed tests | **Test Description** | **Failure message** | | :-- | :-- | |
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
|
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
|
github-actions[bot] commented 2 months ago

:x: Failed Test Results:

Completed 697 tests with 1 failed, 696 passed and 0 skipped.

View the full list of failed tests | **Test Description** | **Failure message** | | :-- | :-- | |
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
|
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
|
github-actions[bot] commented 2 months ago

:x: Failed Test Results:

Completed 697 tests with 1 failed, 696 passed and 0 skipped.

View the full list of failed tests | **Test Description** | **Failure message** | | :-- | :-- | |
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
|
def
test_divide():
> assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
|
codecov[bot] commented 2 months ago

:x: 5 Tests Failed:

Tests completed Failed Passed Skipped
3485 5 3480 0
View the top 3 failed tests by shortest run time > > ``` > api.temp.calculator.test_calculator test_divide > ``` > >
Stack Traces | 0.001s run time > > > > > ``` > > def > > test_divide(): > > > assert Calculator.divide(1, 2) == 0.5 > > E assert 1.0 == 0.5 > > E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2) > > E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide > > .../temp/calculator/test_calculator.py:30: AssertionError > > ``` > >
api.temp.calculator.test_calculator test_divide
Stack Traces | 0.001s run time > > ``` > def > test_divide(): > > assert Calculator.divide(1, 2) == 0.5 > E assert 1.0 == 0.5 > E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2) > E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide > .../temp/calculator/test_calculator.py:30: AssertionError > ```
api.temp.calculator.test_calculator test_divide
Stack Traces | 0.001s run time > > ``` > def > test_divide(): > > assert Calculator.divide(1, 2) == 0.5 > E assert 1.0 == 0.5 > E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2) > E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide > .../temp/calculator/test_calculator.py:30: AssertionError > ```

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

github-actions[bot] commented 2 months ago

:x: Failed Test Results:

Completed 697 tests with 1 failed, 696 passed and 0 skipped.

View the full list of failed tests | **Test Description** | **Failure message** | | :-- | :-- | |
Testsuite:
api.temp.calculator.test_calculator::test_divide

Test name:
pytest
|
def
test_divide():
&gt; assert Calculator.divide(1, 2) == 0.5
E assert 1.0 == 0.5
E + where 1.0 = &lt;function Calculator.divide at 0x104c9eb90&gt;(1, 2)
E + where &lt;function Calculator.divide at 0x104c9eb90&gt; = Calculator.divide
.../temp/calculator/test_calculator.py:30: AssertionError
|