flake8
-
djblets/deprecation.py (Diff revision 1) Show all issues -
djblets/deprecation.py (Diff revision 1) 'housekeeping.BasePendingRemovalWarning' imported but unused Column: 1 Error code: F401
Review Request #13124 — Created June 23, 2023 and submitted
This adds a dependency on housekeeping, our new deprecation management
library, and switches all of our base classes over to it.The original base class and deprecation utility functions are still
there, but wrap the versions in housekeeping. They themselves are marked
as deprecated and will be removed in Djblets 6.The
BaseRemovedInProductVersionWarning
is deprecated, but remains for
now. We can't mark it as moved or deprecated using housekeeping, given
circular references (which Housekeeping 1.1 was supposed to fix, but
ultimately couldn't).
Unit tests pass in Djblets and Review Board.
Summary | ID |
---|---|
a188eab022966ae54312f15ae5a242d830f0a4f8 |
Description | From | Last Updated |
---|---|---|
'housekeeping.func_deprecated' imported but unused Column: 1 Error code: F401 |
![]() |
|
'housekeeping.BasePendingRemovalWarning' imported but unused Column: 1 Error code: F401 |
![]() |
|
'housekeeping.ClassMovedMixin' imported but unused Column: 1 Error code: F401 |
![]() |
djblets/deprecation.py (Diff revision 1) |
---|
djblets/deprecation.py (Diff revision 1) |
---|
'housekeeping.BasePendingRemovalWarning' imported but unused Column: 1 Error code: F401
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+180 -526) |
Removed the deprecation warning for
BaseRemovedInProductVersionWarning
.
Description: |
|
|||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commits: |
|
|||||||||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 3 (+172 -526) |
djblets/deprecation.py (Diff revision 3) |
---|
'housekeeping.ClassMovedMixin' imported but unused Column: 1 Error code: F401