Skip to content

Commit

Permalink
(#113) Fix: change python-facebook to luca
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Nov 24, 2018
1 parent adaf7eb commit 720e1d4
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 85 deletions.
13 changes: 6 additions & 7 deletions .bumplus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ version = '0.2.0'
[[files."CHANGELOG.rst"]]
search = """
`Unreleased`_
*************
+++++++++++++
"""


replace = """
`Unreleased`_
*************
+++++++++++++
`{{new_version}}`_ - {{utcnow | strftime('%Y-%m-%d')}}
**********************
++++++++++++++++++++++
"""

[[files."CHANGELOG.rst"]]
search = """
.. _`Unreleased`: https://github.com/luismayta/python-facebook-chatbot/compare/{{old_version}}...HEAD
.. _`Unreleased`: https://github.com/luismayta/luca/compare/{{old_version}}...HEAD
"""
replace = """
.. _`Unreleased`: https://github.com/luismayta/python-facebook-chatbot/compare/{{new_version}}...HEAD
.. _`{{new_version}}`: https://github.com/luismayta/python-facebook-chatbot/compare/{{old_version}}...{{new_version}}
.. _`Unreleased`: https://github.com/luismayta/luca/compare/{{new_version}}...HEAD
.. _{{new_version}}: https://github.com/luismayta/luca/compare/{{old_version}}...{{new_version}}
"""
4 changes: 2 additions & 2 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[bumpversion]
files = VERSION .bumpversion.cfg README.rst docs/conf.py Dockerfile
commit = True
files = VERSION .bumpversion.cfg README.rst luca/__init__.py provision/docker-compose/dev.yml provision/docker-compose/test.yml
commit = False
tag = False
current_version = 0.2.0

6 changes: 0 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_modules/
.git/
coverage/
vendor/
docs/

Dockerfile

Expand All @@ -22,8 +21,3 @@ Dockerfile
*.log
*.pyc
*.tar*
*.zip
.cache
*.rar
# path build sphinx
docs/_build
26 changes: 13 additions & 13 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ root = true
end_of_line = lf
insert_final_newline = false
indent_style = space

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,el}]
charset = utf-8

[*.{el}]
insert_final_newline = false

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

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

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

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Indentation override for all JS under lib directory
[*.{js,json,yml}]
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]
indent_style = tab
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
169 changes: 117 additions & 52 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,73 @@
.env
# Static and media development files.
media/
src/assets/
static/
staticfiles/

# gulp-compass metafile
css
# 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

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Node metadata
node_modules
# nyc test coverage
.nyc_output

# SASS metadata
*.sass-cache
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

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

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

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# 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

# Redis
*.rdb

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

# Distribution / packaging
.Python
env/
.autoenv.zsh
build/
develop-eggs/
dist/
Expand All @@ -50,6 +88,8 @@ lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
Expand All @@ -70,49 +110,74 @@ 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
GPATH
GRTAGS
GTAGS
*.tfstate.*

# Module directory
.terraform/

# .tfvars files
*.tfvars

requirements/private.txt
# End of https://www.gitignore.io/api/terraform,python,node,ansible,bash
requirements/private.txt
.vscode
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
@slovacus <[email protected]> luis mayta <[email protected]> luis alberto mayta <[email protected]>
@slovacus <[email protected]> Luis Alberto Mayta Mamani <[email protected]>
@slovacus <[email protected]> luis alberto mayta <[email protected]>
@slovacus <[email protected]> Lmayta <[email protected]> Luis Alberto Mayta M <[email protected]>
@slovacus <[email protected]> L. Mayta <[email protected]>
5 changes: 5 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,8 @@ valid-metaclass-classmethod-first-arg=mcs
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception

[Design]
max-public-methods=100
min-public-methods=0
max-args=6
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-facebook-chatbot
luca
8 changes: 4 additions & 4 deletions .tmuxinator.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ~/.tmuxinator/python-facebook-chatbot.yml
name: python-facebook-chatbot
root: <%= ENV["PROJECTS"] %>/python/python-facebook-chatbot
# ~/.tmuxinator/luca.yml
name: luca
root: <%= ENV["PROJECTS"] %>/python/luca
# 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 python-facebook-chatbot
pre_window: pyenv activate luca

# 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 720e1d4

Please sign in to comment.