Skip to content

Commit

Permalink
Intial Vue.js + DRF setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gupta-utkarsh committed Nov 25, 2018
1 parent 42016b6 commit 1bc5f4f
Show file tree
Hide file tree
Showing 60 changed files with 12,529 additions and 4,433 deletions.
41 changes: 32 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@
# http://editorconfig.org

root = true

[*]
max_line_length = 100|off
end_of_line = lf|crlf|cr
indent_style = space|tab
charset = utf-8|latin1|utf-16be|utf-16le
trim_trailing_whitespace = true|false
insert_final_newline = true|false
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

# Docstrings and comments use max_line_length = 79
[*.py]
max_line_length = 119

# Use 2 spaces for the HTML files
[*.html]
indent_size = 2

[*.{js,json}]
# The JSON files contain newlines inconsistently
[*.json]
indent_size = 2
insert_final_newline = ignore

[*.{css,styl,scss,less,sass}]
indent_size = 2
[**/admin/js/vendor/**]
indent_style = ignore
indent_size = ignore

# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore

# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab

# Batch files use tabs for indentation
[*.bat]
indent_style = tab
98 changes: 95 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
node_modules
dist
.sass-cache
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# IPython Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

media/
static/

#DS Store Files
.DS_Store
23 changes: 23 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[MESSAGES CONTROL]
# Disable Messages
# C0103: Invalid %s name "%s".
# C0111: Missing %s docstring.
# C0330: Regarding hanging indentation.
# C1001: Old-style class defined.
# D100: Missing docstring in public module.
# E1101: %s %r has no %r member.
# R0201: Method could be a function.
# R0903: Too few public methods.
# W0223: Method %r is abstract in class %r but is not overridden.
# W0232: Class has no __init__ method.
# W0613: Unused argument.
# W0702: No exception type(s) specified.
disable=C0103,C0111,C0330,C1001,D100,E1101,R0201,R0903,W0223,W0232,W0613,W0702

[FORMAT]
max-line-length=120

[DESIGN]

# Maximum number of return / yield for function / method body
max-returns=10
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "/home/utkarsh/.virtualenvs/portfolio/bin/python"
}
Loading

0 comments on commit 1bc5f4f

Please sign in to comment.