1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Bumping version, adding editor config file and a contribution section to the readme.

This commit is contained in:
sametmax 2014-06-22 10:54:49 +07:00
parent c13dc59629
commit eda8c4ae22
3 changed files with 32 additions and 2 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.py]
indent_size = 4
[*.{html,js,rb,scss,xml,less,css}]
indent_size = 2

View File

@ -21,7 +21,7 @@ but in short::
pip install zerobin pip install zerobin
zerobin zerobin
For now, 0bin targets Python 2.7 only. Python 3 supports is planned. For now, 0bin targets Python 2.7 only. Python 3 supports is planned.
How it works How it works
@ -103,3 +103,16 @@ What does 0bin not implement?
.. _node.js: http://nodejs.org/ .. _node.js: http://nodejs.org/
.. _is not worth it: http://stackoverflow.com/questions/201705/how-many-random-elements-before-md5-produces-collisions .. _is not worth it: http://stackoverflow.com/questions/201705/how-many-random-elements-before-md5-produces-collisions
.. _WTF licence: http://en.wikipedia.org/wiki/WTFPL .. _WTF licence: http://en.wikipedia.org/wiki/WTFPL
Contributing
=============
Please fork the project, clone your repository and add the original repo as an upstream remote to keep yours in sync.
For small fixes (typo and such), you can work on master.
For features, you should create a dedicated branch.
We don't require you to rebase/merge, ordinary merging is alright.
Once it's ready, just request a PR.

View File

@ -6,7 +6,7 @@
######## NOT SETTINGS, JUST BOILER PLATE ############## ######## NOT SETTINGS, JUST BOILER PLATE ##############
import os import os
VERSION = '0.3' VERSION = '0.4'
ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
LIBS_DIR = os.path.join(os.path.dirname(ROOT_DIR), 'libs') LIBS_DIR = os.path.join(os.path.dirname(ROOT_DIR), 'libs')