Skip to content

Commit

Permalink
(#12) refactor: settings for project
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Oct 22, 2019
1 parent e280879 commit 8f9d511
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 89 deletions.
28 changes: 4 additions & 24 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
.dockerignore
docker-compose.yml
provision
node_modules/
.git/
coverage/
vendor/

Dockerfile

.gitignore
.env
.eslintrc
.editorconfig
.git*

.vagrant/
.cache/
.wercker/
.sass-cache/*
*.sql
*.log
*.pyc
*.tar*
.*
!.coveragerc
!.env
!.pylintrc
14 changes: 9 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ trim_trailing_whitespace = true
[*.{el}]
insert_final_newline = false

[*.{el,md,yml,yaml,js,json}]
[*.{el,md,yml,yaml,js,json,toml}]
indent_style = space
indent_size = 2

# 4 space indentation
[*.{py}]
[*.{py,sh}]
indent_style = space
indent_size = 4

Expand All @@ -34,11 +34,15 @@ insert_final_newline = ignore
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
indent_size = 4

# Indentation override for all JS under lib directory
[*.{el,js,json,md,yml,yaml}]
indent_style = space
indent_size = 2

[*.{make,mk}]
indent_style = tab
indent_size = 4
indent_style = tab
indent_size = 4

# Batch files use tabs for indentation
[*.bat]
Expand Down
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,13 @@ CHANGELOG.md merge=union
*.tmpl text eol=lf
*.phtml text eol=lf

*.wadl text eol=lf
*.wsdl text eol=lf

# App config
.env text eol=lf
.env.example text eol=lf
.env.sample text eol=lf

# Server config
.htaccess text eol=lf
Expand Down
174 changes: 117 additions & 57 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,72 @@
.env
# Static and media development files.
media/
src/assets/
static/
staticfiles/
# Created by https://www.gitignore.io/api/terraform,python,node,ansible,bash

### Ansible ###
*.retry

#!! ERROR: bash is undefined. Use list command to see defined gitignore types !!#

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# gulp-compass metafile
css
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Node metadata
node_modules
# Coverage directory used by tools like istanbul
coverage

# SASS metadata
*.sass-cache
# nyc test coverage
.nyc_output

# Bower directory
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# Local databases
*.sqlite3
# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Test databases
*.sqlite3*
# Dependency directories
node_modules/
jspm_packages/

# Redis
*.rdb
# Typescript v1 declaration files
typings/

*.bak
.#*
# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env


### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand All @@ -38,8 +77,6 @@ __pycache__/

# Distribution / packaging
.Python
env/
.autoenv.zsh
build/
develop-eggs/
dist/
Expand All @@ -50,6 +87,8 @@ lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
Expand All @@ -70,54 +109,75 @@ htmlcov/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*,cover
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# ignored files Vagrant
.vagrant
# Files pid
*.pid
# files translate
# Jupyter Notebook
.ipynb_checkpoints

# files lock
*.lock
provision/ansible/roles/contrib
.env
# pyenv
.python-version

.autoenv.zsh*.retry
*.retry
.wercker/
dumps
*.retry
;
.terraform
.backup
*.backup
# celery beat schedule file
celerybeat-schedule.*

# SageMath parsed files
*.sage.py

# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

### Terraform ###
# Compiled files
*.tfstate
terraform.tfstate.d
*.out
*.log
*.aux
*.pdf
*.zip

# vendor
vendor/*
*.tar.gz
# Zappa
bot-lannister-*-template*.json
*.DS_Store
*.tfstate.*

# Module directory
.terraform/

# .tfvars files
*.tfvars


# End of https://www.gitignore.io/api/terraform,python,node,ansible,bash
requirements/private.txt
.vscode
*.orig
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zsh-pyenv
3.8.0
4 changes: 2 additions & 2 deletions .tmuxinator.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ~/.tmuxinator/zsh-pyenv.yml
name: zsh-pyenv
root: <%= ENV["PROJECTS"] %>/zsh/zsh-pyenv
root: ./
# Optional tmux socket
# socket_name: foo

Expand All @@ -25,7 +25,7 @@ on_project_exit: make docker.down
on_project_stop: make docker.down

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
pre_window: pyenv activate zsh-pyenv
pre_window: pipenv shell --fancy

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
Expand Down

0 comments on commit 8f9d511

Please sign in to comment.