Skip to content
This repository was archived by the owner on Nov 17, 2021. It is now read-only.

Commit 4edbee2

Browse files
committed
release: Prepare for v1.5.0 :D
1 parent fe59cc3 commit 4edbee2

File tree

6 files changed

+57
-63
lines changed

6 files changed

+57
-63
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Piston CLI
22

3-
[![Lint & Test](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Lint%20&%20Test/main?label=Lint&logo=github&style=flat)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
3+
[![Linting](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting?logo=github)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
44
[![Python](https://img.shields.io/static/v1?label=Python&message=3.9&color=blue&logo=Python&style=flat)](https://www.python.org/downloads/ "Python 3.8 | 3.9")
55
[![License](https://img.shields.io/github/license/discord-modmail/modmail?style=flat&label=License)](./LICENSE "License file")
6-
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter"))
6+
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter")
77
______________________________________________________________________
88

99
**Documentation**: <a href="https://shivansh-007.github.io/piston-cli/" target="_blank">https://shivansh-007.github.io/piston-cli/</a>

docs/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Piston CLI
22

3-
[![Lint & Test](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting/main?label=Lint&logo=github&style=flat)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
3+
# Piston CLI
4+
5+
[![Linting](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting?logo=github)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
46
[![Python](https://img.shields.io/static/v1?label=Python&message=3.9&color=blue&logo=Python&style=flat)](https://www.python.org/downloads/ "Python 3.8 | 3.9")
57
[![License](https://img.shields.io/github/license/discord-modmail/modmail?style=flat&label=License)](./LICENSE "License file")
6-
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter"))
8+
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter")
79

810
A cli tool which uses the [piston api](https://github.com/engineer-man/piston), developed by Engineerman and his team to compile over 35 languages instantly. Accepts files, paste.pythondiscord.com links and input.
911
______________________________________________________________________

piston/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4.3"
1+
__version__ = "1.5.0"

piston/cli.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from piston.configuration.config_loader import ConfigLoader
1616
from piston.utils import helpers
1717
from piston.utils.compilers import languages_
18-
from piston.utils.constants import BOX_STYLES, CACHE_LOCATION, PistonQuery, themes, SPINNERS
18+
from piston.utils.constants import BOX_STYLES, CACHE_LOCATION, SPINNERS, PistonQuery, themes
1919
from piston.utils.maketable import make_table
2020
from piston.utils.services import query_piston
2121

@@ -244,16 +244,8 @@ def cli_interpreter(ctx: click.Context, src: str, args: tuple[str]) -> None:
244244
"\n\n$ piston cache --cache-file ~/.cache/piston-cli/cachefile.json"
245245
),
246246
)
247-
@click.option(
248-
"--clear-cache",
249-
is_flag=True,
250-
help="Clear piston-cli cache"
251-
)
252-
@click.option(
253-
"--cache-path",
254-
is_flag=True,
255-
help="Show piston-cli cache path"
256-
)
247+
@click.option("--clear-cache", is_flag=True, help="Clear piston-cli cache")
248+
@click.option("--cache-path", is_flag=True, help="Show piston-cli cache path")
257249
@click.pass_context
258250
def cli_failed_request_cache(
259251
ctx: click.Context, timeline: int, clear_cache: bool, cache_path: bool, cache_file: Optional[str] = None

poetry.lock

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "piston-cli"
3-
version = "1.4.3"
3+
version = "1.5.0"
44
description = "A cli tool with an terminal editor to compile over 35 languages instantly using the piston api."
55
authors = ["Shivansh-007 <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)