@@ -20,15 +20,33 @@ and [direnv](https://github.com/direnv/direnv) to automatically activate/deactiv
20
20
21
21
## Dependencies
22
22
23
- To install this package and its development dependencies, run ` make install-dev `
23
+ To install this package and its development dependencies, run ` make install-dev ` .
24
24
25
- ## Formatting
25
+ ## Code checking
26
26
27
- We use ` ruff ` to automatically format the code to a common format. To run the formatting , just run ` make format ` .
27
+ To run all our code checking tools together , just run ` make check-code ` .
28
28
29
- ## Linting, type-checking and unit testing
29
+ ### Linting
30
30
31
- We use ` ruff ` for linting, ` mypy ` for type checking and ` pytest ` for unit testing. To run these tools, just run ` make check-code ` .
31
+ We use [ ruff] ( https://docs.astral.sh/ruff/ ) for linting to to analyze the code for potential issues and enforce
32
+ uniformed code style. See the ` pyproject.toml ` for its configuration. To run the linting, just run ` make lint ` .
33
+
34
+ ### Formatting
35
+
36
+ We use [ ruff] ( https://docs.astral.sh/ruff/ ) for automated code formatting. It formats the code to follow uniformed
37
+ code style and addresses auto-fixable linting issues. See the ` pyproject.toml ` for its configuration. To run
38
+ the formatting, just run ` make format ` .
39
+
40
+ ### Type checking
41
+
42
+ We use [ mypy] ( https://mypy.readthedocs.io/en/stable/ ) for type checking. See the ` mypy.ini ` for its configuration.
43
+ To run the type checking, just run ` make type-check ` .
44
+
45
+ ### Unit tests
46
+
47
+ We use [ pytest] ( https://docs.pytest.org/ ) as a testing framework with many plugins. See the ` pyproject.toml ` for
48
+ both its configuration and the list of installed plugins. To run unit tests execute ` make unit-tests ` . To run unit
49
+ tests with HTML coverage report execute ` make unit-tests-cov ` .
32
50
33
51
## Release process
34
52
0 commit comments