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

Ruff rules PT for pytest #2372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Ruff rules PT for pytest #2372

wants to merge 1 commit into from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 20, 2025

% ruff check --select=PT --statistics # https://docs.astral.sh/ruff/rules/#flake8-pytest-style-pt

11	PT011	[ ] pytest-raises-too-broad
10	PT007	[*] pytest-parametrize-values-wrong-type
 8	PT018	[*] pytest-composite-assertion
 2	PT006	[*] pytest-parametrize-names-wrong-type
 2	PT014	[*] pytest-duplicate-parametrize-test-cases
 1	PT017	[ ] pytest-assert-in-except

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.16%. Comparing base (3305894) to head (176ada2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2372   +/-   ##
=======================================
  Coverage   99.16%   99.16%           
=======================================
  Files          40       40           
  Lines        3101     3101           
  Branches      680      680           
=======================================
  Hits         3075     3075           
  Misses         15       15           
  Partials       11       11           

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