Skip to content

Commit 26f119d

Browse files
committed
Added testing description.
1 parent 0e53693 commit 26f119d

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Or alternatively you ca build it yourself using maturin, and stable rust.
1717

1818
## Development
1919

20-
We use stable rust and pyo3 for writing python extension module.
20+
We use stable rust and pyo3 for writing python extension module.
2121

2222
In order to run the project use maturin:
2323

@@ -27,3 +27,11 @@ uv venv
2727
# To build and install the package in a virtual environment
2828
maturin dev --uv
2929
```
30+
31+
For lints please use `pre-commit`.
32+
33+
```bash
34+
pre-commit run -a
35+
```
36+
37+
For tests we use pytest.

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
[project]
22
name = "natsrpy"
3-
requires-python = ">=3.8"
4-
license-files = ["LICENSE"]
53
description = "Nats client library written in rust"
64
readme = "README.md"
5+
requires-python = ">=3.8"
6+
license-files = ["LICENSE"]
77
classifiers = [
88
"Programming Language :: Python :: Implementation :: CPython",
99
"Programming Language :: Python :: Implementation :: PyPy",
1010
"Programming Language :: Rust",
1111
]
1212
dynamic = ["version"]
1313

14+
[dependency-groups]
15+
dev = ["pytest>=9,<10"]
16+
1417
[build-system]
1518
requires = ["maturin>=1.12,<2.0"]
1619
build-backend = "maturin"

0 commit comments

Comments
 (0)