Skip to content

Commit add4fb0

Browse files
committed
linting
2 parents 59c5468 + f1d9e2a commit add4fb0

32 files changed

+885
-790
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ repos:
3232
'flake8-docstrings==1.6.0',
3333
'pep8-naming==0.11.1'
3434
]
35+
- repo: https://github.com/pre-commit/mirrors-mypy
36+
rev: 'v0.812'
37+
hooks:
38+
- id: mypy

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ clean:
1919
rm -f .coverage
2020

2121
test: clean
22-
pytest
22+
pytest pymove
2323

2424
coverage: clean
25-
coverage run -m pytest
25+
coverage run -m pytest pymove
2626
coverage report
2727

2828
lint: clean
29-
flake8
29+
flake8 pymove
30+
mypy pymove
3031

3132
docs: clean
3233
cp docs/examples/notebooks.rst docs

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,16 @@ You can see examples of how to use PyMove [here](https://github.com/InsightLab/P
255255
- `by_max_time`
256256
- `by_max_speed`
257257

258-
- 7: **Distance of Trajectory** → `pymove.query.query`
258+
- 7: **Distance Measures** → `pymove.distances`
259+
- `medp`
260+
- `medt`
261+
- `euclidean_distance_in_meters`
262+
- `haversine`
263+
264+
- 8: **Query Historical Trajectories** → `pymove.query.query`
259265
- `range_query`
260266
- `knn_query`
261267

262-
- 8: **Query Historical Trajectories**
263-
264268
- 9: **Managing Recent Trajectories**
265269

266270
- 10: **Privacy Preserving**

0 commit comments

Comments
 (0)