Skip to content

Commit

Permalink
Fix docs, bump version number for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
treykeown committed Jun 23, 2023
1 parent 6f6dd5d commit 6f1c3dd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Don't want to write any code? Simply pass any Python script to `arguably` to giv
</sub></div>

```console
user@machine:~$ python3 -m arguably etc/scripts/party-trick.py -h
user@machine:~$ python3 -m arguably party-trick.py -h
usage: party-trick [-h] [--version] command ...

this is the docstring for the whole script
Expand Down
2 changes: 1 addition & 1 deletion arguably/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def run(
Examples:
```python
#!/usr/bin/env python3
\"\"\"description for this script'''
\"\"\"description for this script\"\"\"
from io import StringIO
import arguably
Expand Down
2 changes: 1 addition & 1 deletion arguably/arg.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def choices(*choices: Union[str, enum.Enum]) -> mods.ChoicesModifier:
def move(
direction: Annotated[str, arguably.arg.choices("left", "right", "up", "down")]
):
\"\"\"An enum is usually recommended for cases like this'''
\"\"\"An enum is usually recommended for cases like this\"\"\"
print(f"{direction=}")
if __name__ == "__main__":
Expand Down
6 changes: 3 additions & 3 deletions docs/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class SomeClass:
```

```console
user@machine:~$ python3 -m arguably etc/scripts/party-trick.py -h
user@machine:~$ python3 -m arguably party-trick.py -h
usage: party-trick [-h] [--version] command ...

this is the docstring for the whole script
Expand All @@ -135,7 +135,7 @@ options:
```

```console
user@machine:~$ python3 -m arguably etc/scripts/party-trick.py hello -h
user@machine:~$ python3 -m arguably party-trick.py hello -h
usage: party-trick hello [-h] name

this is hello's docstring
Expand All @@ -148,7 +148,7 @@ options:
```

```console
user@machine:~$ python3 -m arguably etc/scripts/party-trick.py hello world
user@machine:~$ python3 -m arguably party-trick.py hello world
Hello, world!
```

Expand Down
2 changes: 1 addition & 1 deletion etc/pypi/PYPI_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Don't want to write any code? Simply pass any Python script to `arguably` to giv
</sub></div>

```console
user@machine:~$ python3 -m arguably etc/scripts/party-trick.py -h
user@machine:~$ python3 -m arguably party-trick.py -h
usage: party-trick [-h] [--version] command ...

this is the docstring for the whole script
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "arguably"
version = "1.2.3"
version = "1.2.4"
description = "The best Python CLI library, arguably."
authors = ["treykeown <[email protected]>"]
readme = "etc/pypi/PYPI_README.md"
Expand Down

0 comments on commit 6f1c3dd

Please sign in to comment.