Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Update readme and pyproject (#3)
Browse files Browse the repository at this point in the history
* Update pyproject and readme.

* Update changelog.

* Update build name.
  • Loading branch information
omegatrix authored Aug 28, 2022
1 parent 695884f commit 7e7cdba
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .github/workflows/build.yaml
name: trycatch CI
name: trier CI

on:
push:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
run: tox

- name: Upload coverage to Codecov
# We only generate the coverage report in Python 3.9
# We only generate the coverage report in ubuntu latest os Python 3.9
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v2
with:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@

<a id='changelog-1.0.3'></a>
# 1.0.3 — 2022-08-28

## Added

- Supported Python versions and License sections to `README`.

<a id='changelog-1.0.2'></a>
# 1.0.2 — 2022-08-28

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
[![codecov](https://codecov.io/gh/omegatrix/trier/branch/main/graph/badge.svg?token=2M0QOSUPM0)](https://codecov.io/gh/omegatrix/trier)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/trier)

## Supported Python versions
`Python >= 3.8`


## Installation
You can [install `trier` from PyPI](https://pypi.org/project/trier), with `pip`:

Expand Down Expand Up @@ -69,4 +73,8 @@ asyncio.run(main())

## Changelog

Refer to the [CHANGELOG.md](https://github.com/omegatrix/trier/blob/main/CHANGELOG.md) file.
Refer to the [CHANGELOG](https://github.com/omegatrix/trier/blob/main/CHANGELOG.md).

## License

MIT - See the [LICENSE](https://github.com/omegatrix/trier/blob/main/LICENSE) for more information.
15 changes: 14 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
[tool.poetry]
name = "trier"
version = "1.0.2"
version = "1.0.3"
description = "Utility wrapper to handle exceptions."
license = "MIT"
authors = ["Arnold Anthonypillai <arnoldbronson16@gmail.com>"]
readme = "README.md"
repository = "https://github.com/omegatrix/trier"
homepage = "https://github.com/omegatrix/trier"
keywords = ["error-handling", "python3", "async-await", "try-except", "try-catch"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Utilities",
"Typing :: Typed"
]

[tool.poetry.dependencies]
python = "^3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/trier/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from trycatch import Try
"""

__version__ = "1.0.2"
__version__ = "1.0.3"

from typing import Any, Awaitable, Callable, Tuple, Type, TypeVar, Union

Expand Down
2 changes: 1 addition & 1 deletion tests/test_trier.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def dummy_async_function() -> Awaitable[str]:


def test_version():
assert __version__ == "1.0.2"
assert __version__ == "1.0.3"


def test_trycatch():
Expand Down

0 comments on commit 7e7cdba

Please sign in to comment.