You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for considering contributing to `plotly-resampler`.<br>
4
-
It's people like you that will help make `plotly-resampler` a great toolkit.
4
+
It's people like you that will help make `plotly-resampler` a great toolkit. 🤝
5
5
6
6
As usual, contributions are managed through GitHub Issues and Pull Requests.
7
7
8
-
We are welcoming contributions in the following forms:
9
-
***Bug reports**: when filing an issue to report a bug, please use the search tool to ensure the bug hasn't been reported yet;
10
-
***New feature suggestions**: if you think `plotly-resampler` should include a new feature, please open an issue to ask for it (of course, you should always check that the feature has not been asked for yet :). Think about linking to a pdf version of the paper that first proposed the method when suggesting a new algorithm.
11
-
***Bugfixes and new feature implementations**: if you feel you can fix a reported bug/implement a suggested feature yourself, do not hesitate to:
12
-
1. fork the project;
13
-
2. implement your bugfix;
14
-
3. submit a pull request referencing the ID of the issue in which the bug was reported / the feature was suggested;
15
-
16
-
When submitting code, please think about code quality, adding proper docstrings, and including thorough unit tests with high code coverage.
8
+
As usual, contributions are managed through GitHub Issues and Pull Requests.
9
+
We invite you to use GitHub's [Issues](https://github.com/predict-idlab/plotly-resampler/issues) to report bugs, request features, or ask questions about the project. To ask use-specific questions, please use the [Discussions](https://github.com/predict-idlab/plotly-resampler/discussions) instead.
17
10
11
+
If you are new to GitHub, you can read more about how to contribute [here](https://docs.github.com/en/get-started/quickstart/contributing-to-projects).
18
12
19
13
## How to develop locally
20
14
@@ -53,15 +47,15 @@ Make sure that this environment is activated when developing (e.g., installing d
53
47
54
48
### Installing & building the dependencies
55
49
56
-
We use [poetry](https://python-poetry.org/) as dependency manager for this project.
57
-
- The dependencies for installation & development are written in the [pyproject.toml](pyproject.toml) file (which is quite similar to a requirements.txt file).
58
-
- To ensure that package versions are consistent with everyone who works on this project poetry uses a [poetry.lock](poetry.lock) file (read more [here](https://python-poetry.org/docs/basic-usage/#installing-with-poetrylock)).
50
+
We use [`poetry`](https://python-poetry.org/) as dependency manager for this project.
51
+
- The dependencies for installation & development are written in the [`pyproject.toml`](pyproject.toml) file (which is quite similar to a requirements.txt file).
52
+
- To ensure that package versions are consistent with everyone who works on this project poetry uses a [`poetry.lock`](poetry.lock) file (read more [here](https://python-poetry.org/docs/basic-usage/#installing-with-poetrylock)).
59
53
60
54
To install the requirements
61
55
```sh
62
56
pip install poetry # install poetry (if you do use the venv option)
63
-
poetry install # install all the dependencies
64
-
poetry build # build the underlying C code
57
+
poetry install # install all the dependencies
58
+
poetry build # build the underlying C code
65
59
```
66
60
67
61
<details>
@@ -81,25 +75,25 @@ poetry build # build the underlying C code
81
75
82
76
### Formatting the code
83
77
84
-
We use [black](https://github.com/psf/black) and [isort](https://github.com/PyCQA/isort) to format the code.
78
+
We use [`black`](https://github.com/psf/black) and [`isort`](https://github.com/PyCQA/isort) to format the code.
85
79
86
-
To format the code, run the following command (more details in the [Makefile](Makefile)):
80
+
To format the code, run the following command (more details in the [`Makefile`](Makefile)):
87
81
```sh
88
82
make format
89
83
```
90
84
91
85
### Checking the linting
92
86
93
-
We use [ruff](https://github.com/charliermarsh/ruff) to check the linting.
87
+
We use [`ruff`](https://github.com/charliermarsh/ruff) to check the linting.
94
88
95
-
To check the linting, run the following command (more details in the [Makefile](Makefile)):
89
+
To check the linting, run the following command (more details in the [`Makefile`](Makefile)):
96
90
```sh
97
91
make lint
98
92
```
99
93
100
94
### Running the tests (& code coverage)
101
95
102
-
You can run the tests with the following code (more details in the [Makefile](Makefile)):
96
+
You can run the tests with the following code (more details in the [`Makefile`](Makefile)):
103
97
104
98
```sh
105
99
make test
@@ -108,7 +102,7 @@ make test
108
102
To get the selenium tests working you should have Google Chrome installed.
109
103
110
104
If you want to visually follow the selenium tests;
111
-
* change the `TESTING_LOCAL` variable in [tests/conftest.py](tests/conftest.py) to `True`
105
+
* change the `TESTING_LOCAL` variable in [`tests/conftest.py`](tests/conftest.py) to `True`
112
106
113
107
### Generating the docs
114
108
@@ -123,93 +117,6 @@ The current listing below gives you the provided steps to regenerate the documen
123
117
sphinx-autogen -o _autosummary && make clean html
124
118
```
125
119
126
-
## More details on Pull requests
127
-
128
-
The preferred workflow for contributing to plotly-resampler is to fork the
129
-
[main repository](https://github.com/predict-idlab/plotly-resampler) on
130
-
GitHub, clone, and develop on a branch. Steps:
131
-
132
-
1. Fork the [project repository](https://github.com/predict-idlab/plotly-resampler)
133
-
by clicking on the 'Fork' button near the top right of the page. This creates
134
-
a copy of the code under your GitHub user account. For more details on
135
-
how to fork a repository see [this guide](https://help.github.com/articles/fork-a-repo/).
136
-
137
-
2. Clone your fork of the plotly-resampler repo from your GitHub account to your local disk:
0 commit comments