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

Use isinstance for checking that settings are dict #967

Merged

Conversation

johannaengland
Copy link
Contributor

In order to add E7 to ruff rules. This fixes E721 - "Use is and is not for type comparisons, or isinstance() for isinstance checks"

Copy link

sonarcloud bot commented Nov 27, 2024

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.97%. Comparing base (862a35f) to head (6c5129e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #967   +/-   ##
=======================================
  Coverage   82.97%   82.97%           
=======================================
  Files          99       99           
  Lines        4330     4330           
=======================================
  Hits         3593     3593           
  Misses        737      737           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hmpf hmpf added the linting label Nov 28, 2024
@johannaengland johannaengland merged commit 43b6da0 into Uninett:master Nov 28, 2024
10 of 11 checks passed
@johannaengland johannaengland deleted the cleanup/use-isinstance branch November 28, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants