mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-07 19:08:35 +03:00
updated developer guide
This commit is contained in:
@@ -4,7 +4,7 @@ Developer Guide
|
||||
Installation
|
||||
------------
|
||||
|
||||
To install the necessary dependencies for building the documentation and running unit tests, run the following command from the package root directory:
|
||||
To install the necessary dependencies for building the documentation, running unit tests, and performing pre-commit linting, run the following command from the package root directory:
|
||||
|
||||
.. code-block::
|
||||
|
||||
@@ -20,4 +20,4 @@ If changes are made to the package structure or additional modules are created,
|
||||
|
||||
Formatting
|
||||
----------
|
||||
Cisticola uses `black <https://github.com/psf/black>`_ to format source code.
|
||||
Cisticola uses `black <https://github.com/psf/black>`_ and `isort <https://pycqa.github.io/isort/>`_ to format source code. These packages are configured in a `pre-commit <https://pre-commit.com/>`_ hook in the root directory (``.pre-commit-config.yaml``) to ensure that all commits are properly formatted, which avoids unnecessarily large diffs.
|
||||
Reference in New Issue
Block a user