From 27d7952cb11acbee9ed2af2622e68177dc6e890c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 30 May 2023 09:55:55 -0500 Subject: [PATCH] style: lowercase v's --- README.md | 2 +- src/viv/viv.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5aa87b8..ca8d6c3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Try before you buy! ```sh -python3 <(curl -fsSL gh.dayl.in/viv/viv.py) run pycowsay -- "Viv isn't venv\!" +python3 <(curl -fsSL gh.dayl.in/viv/viv.py) run pycowsay -- "viv isn't venv\!" ``` --- diff --git a/src/viv/viv.py b/src/viv/viv.py index 455240e..35515a8 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -"""Viv isn't venv! +"""viv isn't venv! viv -h OR @@ -52,7 +52,7 @@ from typing import ( from urllib.error import HTTPError from urllib.request import urlopen -__version__ = "23.5a4-4-g158acbc-dev" +__version__ = "23.5a4-5-g819257c-dev" class Config: @@ -216,7 +216,7 @@ class Ansi: return " ".join( ( self.style(f, "magenta") + self.style(rest, "cyan") - for f, rest in (("V", "iv"), ("i", "sn't"), ("v", "env!")) + for f, rest in (("v", "iv"), ("i", "sn't"), ("v", "env!")) ) ) @@ -260,7 +260,7 @@ class Ansi: return (row,) def viv_preamble(self, style: str = "magenta", sep: str = "::") -> str: - return f"{self.cyan}Viv{self.end}{self.__dict__[style]}{sep}{self.end}" + return f"{self.cyan}viv{self.end}{self.__dict__[style]}{sep}{self.end}" def table( self, rows: Tuple[Tuple[str, Sequence[str]], ...], header_style: str = "cyan" @@ -1249,7 +1249,7 @@ class Viv: run an app with an on-demand venv examples: - viv r pycowsay -- "Viv isn't venv\!" + viv r pycowsay -- "viv isn't venv\!" viv r rich -b python -- -m rich """ if not args.reqs: