-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ruff A005 detected that the `trace` module was shadowing a built-in. We should've noticed this years ago. This commit renames it and the classes therein so there's no confusion between what's provided by `shell-logger` vs the standard library. It also improves the parity between this module and `stats_collectors`, which improves readability and eases maintainability. Note that this is a (rather unfortunate) breaking change.
- Loading branch information
Showing
6 changed files
with
43 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,5 +16,5 @@ nan | |
NaN | ||
encodable | ||
unproxied | ||
STrace | ||
LTrace | ||
STraceCollector | ||
LTraceCollector |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
TraceCollector | ||
============== | ||
|
||
.. autoclass:: shell_logger.trace_collector.TraceCollector | ||
|
||
.. automethod:: shell_logger.trace_collector::trace_collector | ||
|
||
STraceCollector | ||
--------------- | ||
|
||
.. autoclass:: shell_logger.trace_collector.STraceCollector | ||
|
||
LTraceCollector | ||
--------------- | ||
|
||
.. autoclass:: shell_logger.trace_collector.LTraceCollector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters