Skip to content

Conversation

@Thebinary110
Copy link

Summary

Fix #4557 by resolving pylint-reported class redefinition errors
in apps/accounts/admin.py.

Details

  • Aliased imported admin classes to avoid name shadowing
  • Renamed local admin classes accordingly
  • No functional or behavioral changes

Notes

Django-related import errors reported by pylint are known false positives
in the absence of a configured Django runtime and were not modified.

@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.90%. Comparing base (d4ce4fa) to head (10e0d32).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4857      +/-   ##
==========================================
+ Coverage   91.89%   91.90%   +0.01%     
==========================================
  Files          86       86              
  Lines        7132     7132              
==========================================
+ Hits         6554     6555       +1     
+ Misses        578      577       -1     
Flag Coverage Δ
backend 96.67% <100.00%> (ø)
frontend 87.17% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Accounts & Authentication 100.00% <100.00%> (ø)
Challenges Management 95.39% <ø> (ø)
Job Processing 98.19% <ø> (ø)
Participants & Teams 100.00% <ø> (ø)
Challenge Hosts 100.00% <ø> (ø)
Analytics 100.00% <ø> (ø)
Web Interface 100.00% <ø> (ø)
Frontend (Gulp) 87.17% <ø> (+0.02%) ⬆️
All Models 97.58% <ø> (ø)
All Views 100.00% <ø> (ø)
All Serializers 98.82% <ø> (ø)
Utility Functions 96.82% <ø> (ø)
Core Configuration 82.35% <ø> (ø)
Files with missing lines Coverage Δ
apps/accounts/admin.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Files with missing lines Coverage Δ
apps/accounts/admin.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4ce4fa...10e0d32. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Thebinary110
Copy link
Author

@RishabhJain2018 Please check the fixes.

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.

Increase Pylint Score for the current codebase

1 participant