Skip to content

Conversation

seifertm
Copy link
Contributor

This changeset adds mypy as a pre-commit hook. As a result, the pipeline can simply run pre-commit and we can get rid of the make lint target and the tox -e lint environment.

This patch also contains a couple of clean-ups to the CI pipeline.

@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2022

Codecov Report

Base: 93.16% // Head: 93.16% // No change to project coverage 👍

Coverage data is based on head (19259d8) compared to base (ed0666c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #467   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files           2        2           
  Lines         278      278           
  Branches       56       56           
=======================================
  Hits          259      259           
  Misses         12       12           
  Partials        7        7           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@seifertm seifertm marked this pull request as ready for review December 18, 2022 10:59
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
…nment.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
We record coverage for all interpreters and merge them afterwards. There is no longer a need to specify the environment we want to use for measuring coverage.

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
@seifertm seifertm force-pushed the mypy-as-pre-commit-hook branch from c125852 to 19259d8 Compare January 15, 2023 09:53
@seifertm seifertm merged commit 6adce31 into pytest-dev:master Jan 15, 2023
@seifertm seifertm deleted the mypy-as-pre-commit-hook branch October 23, 2023 06:17
@seifertm seifertm restored the mypy-as-pre-commit-hook branch October 23, 2023 08:17
@seifertm seifertm deleted the mypy-as-pre-commit-hook branch October 23, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants