From cb0b6352b5b3fe548f2148999b4072eac76ff465 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Nov 2022 13:44:57 -0800 Subject: mlog: put the module docstring at the top of the file Where it belongs. Otherwise it isn't rendered correctly --- mesonbuild/mlog.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mesonbuild') diff --git a/mesonbuild/mlog.py b/mesonbuild/mlog.py index edddad5..3c95ee8 100644 --- a/mesonbuild/mlog.py +++ b/mesonbuild/mlog.py @@ -11,6 +11,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + +"""This is (mostly) a standalone module used to write logging +information about Meson runs. Some output goes to screen, +some to logging dir and some goes to both.""" + from __future__ import annotations import enum @@ -35,10 +40,6 @@ if T.TYPE_CHECKING: TV_Loggable = T.Union[str, 'AnsiDecorator', StringProtocol] TV_LoggableList = T.List[TV_Loggable] -"""This is (mostly) a standalone module used to write logging -information about Meson runs. Some output goes to screen, -some to logging dir and some goes to both.""" - def is_windows() -> bool: platname = platform.system().lower() return platname == 'windows' -- cgit v1.1