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

admin: use decorator syntax #519

Merged
merged 1 commit into from
Oct 17, 2023
Merged

Conversation

nijel
Copy link
Member

@nijel nijel commented Oct 17, 2023

Proposed changes

This makes the code easier to read.

Types of changes

Please check the type of change your PR introduces:

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (PEP8, lint, formatting, renaming, etc)
  • Refactoring (no functional changes, no api changes)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build related changes (build process, tests runner, etc)
  • Other (please describe):

Checklist

Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.

  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works

Other information

Any other information that is important to this PR such as screenshots of how
the component looks before and after the change.

This makes the code easier to read.
@nijel nijel self-assigned this Oct 17, 2023
@nijel nijel enabled auto-merge (rebase) October 17, 2023 06:53
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (93f5127) 94.12% compared to head (17e54b6) 94.12%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #519   +/-   ##
=======================================
  Coverage   94.12%   94.12%           
=======================================
  Files          39       39           
  Lines        1140     1140           
  Branches      133      136    +3     
=======================================
  Hits         1073     1073           
  Misses         43       43           
  Partials       24       24           
Flag Coverage Δ
unittests 94.12% <100.00%> (ø)

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

Files Coverage Δ
social_django/admin.py 97.05% <100.00%> (ø)

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

@nijel nijel merged commit a8713fa into python-social-auth:master Oct 17, 2023
10 checks passed
@nijel nijel deleted the admin-decorator branch October 17, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant