jazzband / django-user-sessions

Extend Django sessions with a foreign key back to the user, allowing enumerating all user's sessions.
https://pypi.python.org/pypi/django-user-sessions
MIT License
628 stars 128 forks source link

Drop all syntax and quirks for Python < 3.6 #146

Closed WhyNotHugo closed 1 year ago

WhyNotHugo commented 2 years ago

Nothing functional changing here; mostly housekeeping.

codecov[bot] commented 2 years ago

Codecov Report

Merging #146 (44bd73c) into master (a15cd69) will decrease coverage by 2.65%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
- Coverage   91.86%   89.20%   -2.66%     
==========================================
  Files          16       10       -6     
  Lines         676      278     -398     
  Branches       68       32      -36     
==========================================
- Hits          621      248     -373     
+ Misses         45       22      -23     
+ Partials       10        8       -2     
Impacted Files Coverage Δ
...er_sessions/management/commands/migratesessions.py 81.25% <ø> (ø)
user_sessions/migrations/0001_initial.py 100.00% <ø> (ø)
...ser_sessions/migrations/0002_auto_20151208_1536.py 100.00% <ø> (ø)
...ser_sessions/migrations/0003_auto_20161205_1516.py 100.00% <ø> (ø)
user_sessions/admin.py 100.00% <100.00%> (ø)
user_sessions/backends/db.py 91.17% <100.00%> (ø)
user_sessions/views.py 100.00% <100.00%> (ø)
tests/tests.py
user_sessions/middleware.py
tests/urls.py
... and 3 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

WhyNotHugo commented 1 year ago

CI breakage is unrelated, no point in delaying this.