pylint-dev / astroid

A common base representation of python source code for pylint and other projects
https://pylint.readthedocs.io/projects/astroid/en/latest/
GNU Lesser General Public License v2.1
532 stars 276 forks source link

Expand mypy CI checks to three more files #2636

Closed correctmost closed 6 days ago

correctmost commented 1 week ago

Type of Changes

Type
:hammer: Refactoring

Description

This PR adds a few more files to the passing list to prevent new warnings from slipping in.

codecov[bot] commented 6 days ago

Codecov Report

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

Project coverage is 93.24%. Comparing base (2d26795) to head (d7d06d6). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636/graphs/tree.svg?width=650&height=150&src=pr&token=Buxy4WptLb&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev)](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) ```diff @@ Coverage Diff @@ ## main #2636 +/- ## ======================================= Coverage 93.24% 93.24% ======================================= Files 93 93 Lines 11060 11061 +1 ======================================= + Hits 10313 10314 +1 Misses 747 747 ``` | [Flag](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) | Coverage Δ | | |---|---|---| | [linux](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) | `93.13% <100.00%> (+<0.01%)` | :arrow_up: | | [pypy](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) | `93.24% <100.00%> (+<0.01%)` | :arrow_up: | | [windows](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) | `93.24% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev) | Coverage Δ | | |---|---|---| | [astroid/brain/brain\_mechanize.py](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636?src=pr&el=tree&filepath=astroid%2Fbrain%2Fbrain_mechanize.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev#diff-YXN0cm9pZC9icmFpbi9icmFpbl9tZWNoYW5pemUucHk=) | `100.00% <100.00%> (ø)` | | | [astroid/context.py](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636?src=pr&el=tree&filepath=astroid%2Fcontext.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev#diff-YXN0cm9pZC9jb250ZXh0LnB5) | `97.43% <ø> (ø)` | | | [astroid/modutils.py](https://app.codecov.io/gh/pylint-dev/astroid/pull/2636?src=pr&el=tree&filepath=astroid%2Fmodutils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pylint-dev#diff-YXN0cm9pZC9tb2R1dGlscy5weQ==) | `89.47% <100.00%> (ø)` | |