File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
venv *
2
2
.cache_datasets /
3
+ * .ruff *
3
4
* .DS_Store
4
5
file_system_store /
5
6
Original file line number Diff line number Diff line change @@ -79,12 +79,30 @@ poetry build # build the underlying C code
79
79
80
80
</details >
81
81
82
+ ### Formatting the code
83
+
84
+ We use [ black] ( https://github.com/psf/black ) and [ isort] ( https://github.com/PyCQA/isort ) to format the code.
85
+
86
+ To format the code, run the following command (more details in the [ Makefile] ( Makefile ) ):
87
+ ``` sh
88
+ make format
89
+ ```
90
+
91
+ ### Checking the linting
92
+
93
+ We use [ ruff] ( https://github.com/charliermarsh/ruff ) to check the linting.
94
+
95
+ To check the linting, run the following command (more details in the [ Makefile] ( Makefile ) ):
96
+ ``` sh
97
+ make lint
98
+ ```
99
+
82
100
### Running the tests (& code coverage)
83
101
84
- You can run the test with the following code:
102
+ You can run the tests with the following code (more details in the [ Makefile ] ( Makefile ) ) :
85
103
86
104
``` sh
87
- poetry run pytest --cov-report term-missing --cov=plotly_resampler tests
105
+ make test
88
106
```
89
107
90
108
To get the selenium tests working you should have Google Chrome installed.
You can’t perform that action at this time.
0 commit comments