Upgrade styler to better handle lists (#9423)
* Add missing lines before a new list. * Update doc styler and restyle some files. * Fix docstrings of LED and Longformer
This commit is contained in:
@@ -522,6 +522,7 @@ class CaptureLogger:
|
||||
Context manager to capture `logging` streams
|
||||
|
||||
Args:
|
||||
|
||||
- logger: 'logging` logger object
|
||||
|
||||
Results:
|
||||
@@ -851,9 +852,10 @@ def pytest_terminal_summary_main(tr, id):
|
||||
there.
|
||||
|
||||
Args:
|
||||
|
||||
- tr: `terminalreporter` passed from `conftest.py`
|
||||
- id: unique id like `tests` or `examples` that will be incorporated into the final reports
|
||||
filenames - this is needed as some jobs have multiple runs of pytest, so we can't have them overwrite each other.
|
||||
- id: unique id like `tests` or `examples` that will be incorporated into the final reports filenames - this is
|
||||
needed as some jobs have multiple runs of pytest, so we can't have them overwrite each other.
|
||||
|
||||
NB: this functions taps into a private _pytest API and while unlikely, it could break should
|
||||
pytest do internal changes - also it calls default internal methods of terminalreporter which
|
||||
|
||||
Reference in New Issue
Block a user