Skip to content

Commit f8ff7a8

Browse files
committed
fix
1 parent fe866e0 commit f8ff7a8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: stable
3+
rev: 25.1.0
44
hooks:
55
- id: black
66
- repo: https://github.com/pycqa/isort
7-
rev: 5.7.0
7+
rev: 6.0.1
88
hooks:
99
- id: isort

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Please see the [Python integration docs](https://posthog.com/docs/integrations/p
1414
2. Run `source env/bin/activate` (activates the virtual environment)
1515
3. Run `python3 -m pip install -e ".[test]"` (installs the package in develop mode, along with test dependencies)
1616
* or `uv pip install -e ".[test]"`
17-
4. Run `make test`
17+
4. you have to run `pre-commit install` to have auto linting pre commit
18+
5. Run `make test`
1819
1. To run a specific test do `pytest -k test_no_api_key`
1920

2021
## PostHog recommends `uv` so...
@@ -25,6 +26,7 @@ uv python pin 3.9.19
2526
uv venv env
2627
source env/bin/activate
2728
uv pip install --editable ".[dev,test]"
29+
pre-commit install
2830
make test
2931
```
3032

0 commit comments

Comments
 (0)