Skip to content

Commit

Permalink
Merge pull request #1 from byBenPuls/version-0.1.5
Browse files Browse the repository at this point in the history
Version 0.1.5
  • Loading branch information
byBenPuls authored Oct 31, 2024
2 parents 3fddff0 9d36ddb commit 8ce4239
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 1,20 @@
# Moy Nalog


Usage example:

```python
import asyncio
from moy_nalog import MoyNalog

nalog = MoyNalog("inn", "pass")


async def main():
await data.add_income(
"Предоставление информационных услуг #970/2495", amount=1000, quantity=1
)


asyncio.run(main())
```
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 = "moy-nalog"
version = "0.1.0"
version = "0.1.5"
description = "Async Python API for lknpd.nalog.ru"
authors = ["Ben Puls <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 12,4 @@ async def test_auth():
try:
await nalog._make_auth()
except Exception as ex:
assert(ex, RefreshTokenNotFoundError)
assert isinstance(ex, RefreshTokenNotFoundError)

0 comments on commit 8ce4239

Please sign in to comment.