flake8
-
rbtools/api/cache.py (Diff revision 1)
Review Request #12606 — Created Sept. 15, 2022 and submitted
This change updates the
rbtools.api.cache
module to modernize the
code, getting rid ofsix
, updating documentation, and adding type
annotations.While I was in here, I also changed the
clearcache
command a bit to
make the command responsible for printing the success message instead of
theclear_cache
method in the cache module. This allows us to use
self.stdout
rather than just calling
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+538 -136) |
rbtools/api/cache.py (Diff revision 2) |
---|
Might be nice to update the docs here by adding the
Args:
. Here and below for the other__init__
methods.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+650 -144) |