From 9de75cced8c8efdf0ef914ee45b1b10b5897baae Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sat, 11 May 2024 17:57:28 +0100 Subject: [PATCH] Render template ../cookiecutter-python-cli at ea3dcc7c5b --- .cookiecutter.json | 10 ---------- Makefile | 2 +- pyproject.toml | 2 +- tests/prysk-noescape.py | 8 -------- 4 files changed, 2 insertions(+), 20 deletions(-) delete mode 100755 tests/prysk-noescape.py diff --git a/.cookiecutter.json b/.cookiecutter.json index d32c7db..73e1be2 100644 --- a/.cookiecutter.json +++ b/.cookiecutter.json @@ -1,14 +1,4 @@ { - "_checkout": null, - "_dest_dir": "worktree", - "_extensions": [ - "jinja2.ext.do" - ], - "_output_dir": "", - "_repo_dir": "../cookiecutter-python-cli", - "_setuptools_scm_root": "", - "_template": "../cookiecutter-python-cli", - "_template_name": "cookiecutter-python-cli", "author_email": "tomi@nomi.cz", "author_github": "liskin", "author_name": "Tom\u00e1\u0161 Janou\u0161ek", diff --git a/Makefile b/Makefile index 089d7f7..d86c28c 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ test-prysk: $(VENV_DONE) PATH="$(CURDIR)/$(VENV)/bin:$$PATH" \ XDG_DATA_HOME=/home/user/.local/share \ XDG_CONFIG_HOME=/home/user/.config \ - $(VENV_PYTHON) tests/prysk-noescape.py --indent=4 --shell=/bin/bash $(PRYSK_INTERACTIVE) \ + $(VENV_PYTHON) -m prysk --indent=4 --shell=/bin/bash $(PRYSK_INTERACTIVE) \ $(wildcard tests/*.md tests/*/*.md tests/*/*/*.md) .PHONY: README.md diff --git a/pyproject.toml b/pyproject.toml index e0bcb89..3cf52db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dev = [ "flake8", "isort >= 5.0", "mypy >= 0.900", - "prysk == 0.17.0", + "prysk >= 0.20.0", "twine", "types-PyYAML", ] diff --git a/tests/prysk-noescape.py b/tests/prysk-noescape.py deleted file mode 100755 index b85dbbe..0000000 --- a/tests/prysk-noescape.py +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python3 - -import runpy - -import prysk.test # type: ignore [import] - -prysk.test._IS_ESCAPING_NEEDED = lambda _: False -runpy.run_module('prysk')