Skip to content

Commit ee020f0

Browse files
committed
update pyproject
Signed-off-by: Sami Jaghouar <[email protected]>
1 parent e1f8f0b commit ee020f0

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

python/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,26 @@ Fast Quant is a Python package that provides a fast and efficient way to quantiz
66

77
```bash
88
git clone <>
9+
cd python
910
pip install .
1011
```
1112

12-
## running tests
13+
## Development
14+
15+
clone the repository
16+
```bash
17+
git clone <>
18+
cd python
19+
```
1320

1421
install the package with the tests dependency
1522
```bash
16-
pip install -e .[tests]
23+
pip install -e .[dev]
24+
```
25+
26+
install pre-commit hooks
27+
```bash
28+
pre-commit install
1729
```
1830

1931
run the tests

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "Multithreaded SIMD int8 and int4 quantization kernels."
1212
dependencies = ["cffi"]
1313

1414
[project.optional-dependencies]
15-
tests = ["pytest","torch","numpy"]
15+
dev = ["pytest","torch","numpy","pre-commit","ruff"]
1616

1717
[tool.ruff]
1818
line-length = 120

0 commit comments

Comments
 (0)