From ec34116564887d718c97ada1d844a35ebe3b8a0f Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Fri, 18 Mar 2022 16:23:15 +0100 Subject: [PATCH] Rename files for consistency. --- ...on_to_wikitext.py => test_lib_sledrun_wikitext_from_json.py} | 2 +- ...un_json_to_wikitext.py => lib_sledrun_wikitext_from_json.py} | 0 wrpylib/wrmwmarkup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/{test_lib_sledrun_json_to_wikitext.py => test_lib_sledrun_wikitext_from_json.py} (87%) rename wrpylib/{lib_sledrun_json_to_wikitext.py => lib_sledrun_wikitext_from_json.py} (100%) diff --git a/tests/test_lib_sledrun_json_to_wikitext.py b/tests/test_lib_sledrun_wikitext_from_json.py similarity index 87% rename from tests/test_lib_sledrun_json_to_wikitext.py rename to tests/test_lib_sledrun_wikitext_from_json.py index 02c9cf9..f379cc4 100644 --- a/tests/test_lib_sledrun_json_to_wikitext.py +++ b/tests/test_lib_sledrun_wikitext_from_json.py @@ -1,6 +1,6 @@ import unittest -from wrpylib.lib_sledrun_json_to_wikitext import strip_eol +from wrpylib.lib_sledrun_wikitext_from_json import strip_eol class TestTrimEol(unittest.TestCase): diff --git a/wrpylib/lib_sledrun_json_to_wikitext.py b/wrpylib/lib_sledrun_wikitext_from_json.py similarity index 100% rename from wrpylib/lib_sledrun_json_to_wikitext.py rename to wrpylib/lib_sledrun_wikitext_from_json.py diff --git a/wrpylib/wrmwmarkup.py b/wrpylib/wrmwmarkup.py index 66c9f59..91d876d 100644 --- a/wrpylib/wrmwmarkup.py +++ b/wrpylib/wrmwmarkup.py @@ -11,7 +11,7 @@ from mwparserfromhell.nodes import Template, Wikilink import wrpylib.wrvalidators import wrpylib.mwmarkup import wrpylib.wrmwdb -from wrpylib.lib_sledrun_json_to_wikitext import strip_eol +from wrpylib.lib_sledrun_wikitext_from_json import strip_eol from wrpylib.wrvalidators import LonLat, opt_lonlat_from_str, opt_lonlat_to_str, opt_uint_from_str, opt_uint_to_str, \ opt_str_opt_comment_enum_to_str, lift_german_to_str, webauskunft_to_str, cachet_german_to_str, \ opt_phone_comment_enum_to_str, lift_german_from_str, GASTHAUSBOX_DICT, opt_difficulty_german_from_str, \ -- 2.39.5