Skip to content

Commit c5f3175

Browse files
wdevazelhesperimosocordiae
authored andcommitted
[MRG] Add github issue template message (#116)
* ENH: add github issue_template message * FIX: update message according to comment https://github.com/terrytangyuan * STY: style knitpicks
1 parent efeab88 commit c5f3175

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/issue_template.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#### Description
2+
<!-- Describe your issue here.-->
3+
4+
#### Steps/Code to Reproduce
5+
<!-- Please provide a **minimal** highlighted code example for
6+
reproduction. (See https://help.github.com/articles/creating-and-highlighting-code-blocks/
7+
for code blocks highlighting, and https://stackoverflow.com/help/mcve
8+
for what is a minimal reproducible code.)
9+
10+
Example:
11+
```python
12+
from metric_learn import NCA
13+
from sklearn.datasets import make_classification
14+
from sklearn.utils import check_random_state
15+
16+
X, y = make_classification(random_state=0)
17+
nca = NCA()
18+
nca.fit(X, y)
19+
```
20+
If the code is too long, feel free to put it in a public gist and link
21+
it in the issue: https://gist.github.com
22+
-->
23+
24+
#### Expected Results
25+
<!-- Example: No error is thrown. Please paste or describe the expected results.-->
26+
27+
#### Actual Results
28+
<!-- Please paste or specifically describe the actual output or traceback. You can use ```ptb for python traceback formatting-->
29+
30+
#### Versions
31+
<!-- Please run the following snippet and paste the output below.
32+
33+
import platform; print(platform.platform())
34+
import sys; print("Python", sys.version)
35+
import numpy; print("NumPy", numpy.__version__)
36+
import scipy; print("SciPy", scipy.__version__)
37+
import sklearn; print("Scikit-Learn", sklearn.__version__)
38+
import metric_learn; print("Metric-Learn", metric_learn.__version__)
39+
40+
(If the last statement returns "AttributeError: 'module' object has no attribute '__version__'", you can instead run this in a terminal:
41+
$ pip show metric_learn | grep Version
42+
)
43+
-->
44+
<!-- Thanks for contributing! -->

0 commit comments

Comments
 (0)