mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-12-22 21:00:09 +01:00
Update CONTRIBUTING.md
This commit is contained in:
parent
27b66b4f31
commit
9e28e00123
14
CONTRIBUTING.md
vendored
14
CONTRIBUTING.md
vendored
@ -1,12 +1,8 @@
|
||||
All kinds of patches are welcome. Feel free to even suggest some catchy and funny titles for the existing Examples. The goal is to make this collection as interesting to read as possible.
|
||||
All kinds of patches are welcome. Feel free to even suggest some catchy and funny titles for the existing Examples. The goal is to make this collection as interesting to read as possible. Here are a few ways through which you can contribute,
|
||||
|
||||
If you are interested in translating the project to another language (some people have done that in the past), please feel free to open up an issue, and let me know if you need any kind of help.
|
||||
|
||||
If the changes you suggest are significant, filing an issue before submitting the actual patch will be appreciated. If you'd like to work on the issue (highly encouraged), you can mention that you're interested in working on it while creating the issue and get assigned to it.
|
||||
|
||||
If you're adding a new example, please do create an issue to discuss it before submitting a patch.
|
||||
|
||||
You can use the following template for adding a new example:
|
||||
- If you are interested in translating the project to another language (some people have done that in the past), please feel free to open up an issue, and let me know if you need any kind of help.
|
||||
- If the changes you suggest are significant, filing an issue before submitting the actual patch will be appreciated. If you'd like to work on the issue (highly encouraged), you can mention that you're interested in working on it while creating the issue and get assigned to it.
|
||||
- If you're adding a new example, it is highly recommended to create an issue to discuss it before submitting a patch. You can use the following template for adding a new example:
|
||||
|
||||
<pre>
|
||||
### ▶ Some fancy Title *
|
||||
@ -40,6 +36,8 @@ Probably unexpected output
|
||||
|
||||
Few things that you can consider while writing an example,
|
||||
|
||||
- If you are choosing to submit a new example without creating an issue and discussing, please check the project to make sure there aren't similar examples already.
|
||||
- Try to be consistent with the namings and the values you use with the variables. For instance, most variable names in the project are along the lines of `some_string`, `some_list`, `some_dict`, etc. You'd see a lot of `x`s for single letter variable names, and `"wtf"` as values for strings. There's no strictly enforced scheme in the project as such, but you can take a glance at other examples to get a gist.
|
||||
- Try to be as creative as possible to add that element of "surprise" in the setting up part of an example. Sometimes this may mean writing a snippet a sane programmer would never write.
|
||||
- Also, feel free to add your name to the [contributors list](/CONTRIBUTING.md).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user