You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation/install.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,15 @@ you can skip this section.
42
42
43
43
* To deactivate the virtualenv when you are done using it `deactivate`
44
44
45
-
#### Install cflib dependencies
46
-
Install dependencies required by the lib: `pip install -r requirements.txt`. If you are planning on developing on the lib you should also run: `pip install -r requirements-dev.txt`.
47
-
48
-
To verify the installation, connect the crazyflie and run an example: `python3 examples/logging/basiclog.py`
49
-
50
-
### Pre commit hooks
45
+
### Pre commit hooks (Ubuntu)
51
46
If you want some extra help with keeping to the mandated python coding style you can install hooks that verify your style at commit time. This is done by running:
52
47
```
48
+
$ pip3 install pre-commit
49
+
```
50
+
go to crazyflie-lib-python root folder and run
51
+
```
53
52
$ pre-commit install
53
+
$ pre-commit run --all-files
54
54
```
55
55
This will run the lint checkers defined in `.pre-commit-config-yaml` on your proposed changes and alert you if you need to change anything.
0 commit comments