misc updates

This commit is contained in:
Manuel Barkhau 2020-09-24 21:21:36 +00:00
parent b7cb2855f0
commit 56c9f9b36c
6 changed files with 77 additions and 173 deletions

View file

@ -175,13 +175,12 @@ def test_incr_invalid(runner):
def _add_project_files(*files):
if "README.md" in files:
README_TEXT = """
Hello World v201701.1002-alpha !
aka. 201701.1002a0 !
"""
with pl.Path("README.md").open(mode="wt", encoding="utf-8") as fobj:
fobj.write(
"""
Hello World v201701.1002-alpha !
aka. 201701.1002a0 !
"""
)
fobj.write(README_TEXT)
if "setup.cfg" in files:
with pl.Path("setup.cfg").open(mode="wt", encoding="utf-8") as fobj: