<commit_before>Development
===========

Setting up a development environment
------------------------------------

If you want to hack on Fava or run the latest development version, make sure
you have the following installed (ideally with your system package manager):

- `Python 3`_ - with `pip` (at least v21.3), to install the Fava Python package,
- `Node.js`_ - with `npm`, to install the Javascript dependencies,
- `tox`_ - to run the Python tests,
- `pre-commit`_ - to lint changes with a git pre-commit hook.

.. _Python 3: https://www.python.org/
.. _Node.js: https://nodejs.org/<commit_msg>docs: add note that one should use recent deps<commit_after>Development
===========

Setting up a development environment
------------------------------------

If you want to hack on Fava or run the latest development version, make sure
you have recent enough versions of the following installed (ideally with your
system package manager):

- `Python 3`_ - with `pip` (at least v21.3), to install the Fava Python package,
- `Node.js`_ - with `npm`, to install the Javascript dependencies,
- `tox`_ - to run the Python tests,
- `pre-commit`_ - to lint changes with a git pre-commit hook.

.. _Python 3: https://www.python.org/
.. _Node.js: https://nodejs.org/
{'fraction_non_alphanumeric': 0.1662688941925219, 'fraction_numerical': 0.007955449482895784, 'mean_word_length': 2.9936507936507937, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6095793', 'n_tokens_mistral': 374, 'n_tokens_neox': 345, 'n_words': 157}