1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

publish: 0.3.2

This commit is contained in:
Steffo 2020-06-23 19:07:27 +02:00
parent b4e24f40aa
commit b5ca4314fe
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
4 changed files with 6 additions and 4 deletions

View file

@ -38,7 +38,7 @@ class MarkovCommand(Command):
for mn in self._texts: for mn in self._texts:
models.append(f"- [c]{mn}[/c]\n") models.append(f"- [c]{mn}[/c]\n")
raise InvalidInputError("Il modello richiesto non esiste." raise InvalidInputError("Il modello richiesto non esiste."
f"Modelli disponibili:\n{models}") f"Modelli disponibili:\n{''.join(models)}")
if sentence is None: if sentence is None:
continue continue
if len(sentence.split()) < self.config["Markov"]["min_words"]: if len(sentence.split()) < self.config["Markov"]["min_words"]:

View file

@ -1 +1 @@
semantic = "0.3.1" semantic = "0.3.2"

2
publish.bat Normal file
View file

@ -0,0 +1,2 @@
git commit -am "publish: %1"
git push && poetry build && poetry publish && hub release create "%1" -m "Markovpack %1"

View file

@ -1,9 +1,9 @@
# Remember to run `poetry update` after you edit this file! # Remember to run `poetry update` after you edit this file!
[tool.poetry] [tool.poetry]
name = "markov" name = "markovpack"
description = "A Royalnet pack to have fun with Markovify." description = "A Royalnet pack to have fun with Markovify."
version = "0.3.1" version = "0.3.2"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"] authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+" license = "AGPL-3.0+"
homepage = "https://github.com/Steffo99/markovpack" homepage = "https://github.com/Steffo99/markovpack"