-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
akb
authored and
akb
committed
Jul 16, 2019
1 parent
edf447c
commit 6a772b8
Showing
28 changed files
with
1,161 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[bumpversion] | ||
current_version = 0.1.0 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:setup.py] | ||
search = version={current_version} | ||
replace = version={new_version} | ||
|
||
[bumpversion:file:README.rst] | ||
search = v{current_version}. | ||
replace = v{new_version}. | ||
|
||
[bumpversion:file:docs/conf.py] | ||
search = version = release = {current_version} | ||
replace = version = release = {new_version} | ||
|
||
[bumpversion:file:src/mario/__init__.py] | ||
search = __version__ = {current_version} | ||
replace = __version__ = {new_version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# This file exists so you can easily regenerate your project. | ||
# | ||
# `cookiepatcher` is a convenient shim around `cookiecutter` | ||
# for regenerating projects (it will generate a .cookiecutterrc | ||
# automatically for any template). To use it: | ||
# | ||
# pip install cookiepatcher | ||
# cookiepatcher gh:adamboche/cookiecutter-pylibrary project-path | ||
# | ||
# See: | ||
# https://pypi.org/pypi/cookiepatcher | ||
# | ||
# Alternatively, you can run: | ||
# | ||
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:adamboche/cookiecutter-pylibrary | ||
|
||
default_context: | ||
|
||
_template: 'gh:adamboche/cookiecutter-pylibrary' | ||
appveyor: 'yes' | ||
c_extension_function: 'longest' | ||
c_extension_module: '_mario' | ||
c_extension_optional: 'no' | ||
c_extension_support: 'no' | ||
codacy: 'no' | ||
codeclimate: 'no' | ||
codecov: 'no' | ||
command_line_interface: 'click' | ||
command_line_interface_bin_name: 'mario' | ||
coveralls: 'no' | ||
distribution_name: 'mario' | ||
email: 'mario@example.com' | ||
full_name: 'mario contributors' | ||
github_username: 'python-mario' | ||
landscape: 'no' | ||
license: 'GNU General Public License v3 (GPLv3)' | ||
linter: 'flake8' | ||
package_name: 'mario' | ||
project_name: 'mario' | ||
project_short_description: 'An example package. Generated with cookiecutter-pylibrary.' | ||
release_date: 'today' | ||
repo_name: 'python-mario' | ||
requiresio: 'no' | ||
scrutinizer: 'no' | ||
sphinx_docs: 'yes' | ||
sphinx_doctest: 'no' | ||
sphinx_theme: 'sphinx-rtd-theme' | ||
test_matrix_configurator: 'no' | ||
test_matrix_separate_coverage: 'no' | ||
test_runner: 'pytest' | ||
travis: 'yes' | ||
version: '0.1.0' | ||
website: 'https://github.com/python-mario/mario' | ||
year: 'now' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[paths] | ||
source = | ||
src | ||
*/site-packages | ||
|
||
[run] | ||
branch = true | ||
source = | ||
mario | ||
tests | ||
parallel = true | ||
|
||
[report] | ||
show_missing = true | ||
precision = 2 | ||
omit = *migrations* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.{bat,cmd,ps1}] | ||
end_of_line = crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,68 @@ | ||
poetry.lock | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
.eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
wheelhouse | ||
develop-eggs | ||
.installed.cfg | ||
lib | ||
lib64 | ||
venv*/ | ||
pyvenv*/ | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
.coverage.* | ||
.pytest_cache/ | ||
nosetests.xml | ||
coverage.xml | ||
htmlcov | ||
|
||
# Translations | ||
*.mo | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
.idea | ||
*.iml | ||
*.komodoproject | ||
|
||
# Complexity | ||
output/*.html | ||
output/*/index.html | ||
|
||
# Sphinx | ||
docs/_build | ||
|
||
.DS_Store | ||
*~ | ||
.*.sw[po] | ||
.build | ||
.ve | ||
.env | ||
.cache | ||
.pytest | ||
.bootstrap | ||
.appveyor.token | ||
*.bak | ||
|
||
# Mypy Cache | ||
.mypy_cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: 19.3b0 | ||
hooks: | ||
- id: black | ||
language_version: python3.7 | ||
# override until resolved: https://github.com/ambv/black/issues/402 | ||
files: \.pyi?$ | ||
types: [] | ||
|
||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.0.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==19.3b0] | ||
|
||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v1.9.1 | ||
hooks: | ||
- id: seed-isort-config | ||
|
||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.20 | ||
hooks: | ||
- id: isort | ||
language_version: python3.7 | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.2.3 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: mixed-line-ending |
Oops, something went wrong.