@@ -16,6 +16,12 @@ run the following command from the root of the cloned project:
1616
1717 $ poetry install
1818
19+ To also install the documentation dependencies run:
20+
21+ .. code :: sh
22+
23+ $ poetry install --with docs
24+
1925 All of the project's dependencies should be installed and the project
2026ready for further development. **Note that Poetry creates a separate
2127virtual environment for your project. **
@@ -26,11 +32,13 @@ Dependencies
2632+----------------+--------------+------------+
2733| Package | Version | Platform |
2834+================+==============+============+
29- | niapy | ^2.0.1 | All |
35+ | niapy | ^2.0.5 | All |
3036+----------------+--------------+------------+
31- | pandas | ^1.3.5 | All |
37+ | pandas | ^2.1.1 | All |
3238+----------------+--------------+------------+
33- | numpy | ^1.21.5 | All |
39+ | numpy | ^1.26.1 | All |
40+ +----------------+--------------+------------+
41+ | nltk | ^3.8.1 | All |
3442+----------------+--------------+------------+
3543
3644Development Dependencies
@@ -39,18 +47,50 @@ Development Dependencies
3947+--------------------+-----------+------------+
4048| Package | Version | Platform |
4149+====================+===========+============+
42- | Pytest | ^7.0.1 | Any |
50+ | pre-commit | ^3.5.0 | Any |
51+ +--------------------+-----------+------------+
52+
53+ Test Dependencies
54+ ~~~~~~~~~~~~~~~~~
55+
56+ +--------------------+-----------+------------+
57+ | Package | Version | Platform |
58+ +====================+===========+============+
59+ | pytest | ^7.4.2 | Any |
60+ +--------------------+-----------+------------+
61+ | pytest-cov | ^7.4.2 | Any |
62+ +--------------------+-----------+------------+
63+ | pytest-randomly | ^7.4.2 | Any |
4364+--------------------+-----------+------------+
4465
45- Extras
46- ~~~~~~
66+ Documentation dependencies
67+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
4768
4869+------------------------------+--------------+------------+
4970| Package | Version | Platform |
5071+==============================+==============+============+
51- | Sphinx | ^4.4.0 | Any |
72+ | sphinx | ^7.2.6 | Any |
5273+------------------------------+--------------+------------+
5374| sphinx-rtd-theme | ^1.0.0 | Any |
5475+------------------------------+--------------+------------+
5576| sphinxcontrib-bibtex | ^2.4.1 | Any |
5677+------------------------------+--------------+------------+
78+
79+
80+ Pre-commit hooks
81+ ~~~~~~~~~~~~~~~~
82+
83+ We use pre-commit hooks for formatting and linting. You can install the pre-commit hooks with:
84+
85+ .. code :: sh
86+
87+ $ pre-commit install
88+
89+
90+ Once the pre-commit hooks are installed and configured, they will automatically run before each git commit. If any hook fails, the commit will be aborted, and you'll need to address the issues raised by the hooks.
91+
92+ To manually run the pre-commit hooks on all files, use the following command:
93+
94+ .. code :: sh
95+
96+ $ pre-commit run --all-files
0 commit comments