-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit d6af571
Showing
39 changed files
with
1,246 additions
and
0 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,78 @@ | ||
version: '{branch}-{build}' | ||
build: off | ||
environment: | ||
matrix: | ||
- TOXENV: check | ||
TOXPYTHON: C:\Python36\python.exe | ||
PYTHON_HOME: C:\Python36 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py27,codecov | ||
TOXPYTHON: C:\Python27\python.exe | ||
PYTHON_HOME: C:\Python27 | ||
PYTHON_VERSION: '2.7' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py27,codecov | ||
TOXPYTHON: C:\Python27-x64\python.exe | ||
PYTHON_HOME: C:\Python27-x64 | ||
PYTHON_VERSION: '2.7' | ||
PYTHON_ARCH: '64' | ||
WINDOWS_SDK_VERSION: v7.0 | ||
- TOXENV: py35,codecov | ||
TOXPYTHON: C:\Python35\python.exe | ||
PYTHON_HOME: C:\Python35 | ||
PYTHON_VERSION: '3.5' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py35,codecov | ||
TOXPYTHON: C:\Python35-x64\python.exe | ||
PYTHON_HOME: C:\Python35-x64 | ||
PYTHON_VERSION: '3.5' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py36,codecov | ||
TOXPYTHON: C:\Python36\python.exe | ||
PYTHON_HOME: C:\Python36 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py36,codecov | ||
TOXPYTHON: C:\Python36-x64\python.exe | ||
PYTHON_HOME: C:\Python36-x64 | ||
PYTHON_VERSION: '3.6' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py37,codecov | ||
TOXPYTHON: C:\Python37\python.exe | ||
PYTHON_HOME: C:\Python37 | ||
PYTHON_VERSION: '3.7' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py37,codecov | ||
TOXPYTHON: C:\Python37-x64\python.exe | ||
PYTHON_HOME: C:\Python37-x64 | ||
PYTHON_VERSION: '3.7' | ||
PYTHON_ARCH: '64' | ||
- TOXENV: py38,codecov | ||
TOXPYTHON: C:\Python38\python.exe | ||
PYTHON_HOME: C:\Python38 | ||
PYTHON_VERSION: '3.8' | ||
PYTHON_ARCH: '32' | ||
- TOXENV: py38,codecov | ||
TOXPYTHON: C:\Python38-x64\python.exe | ||
PYTHON_HOME: C:\Python38-x64 | ||
PYTHON_VERSION: '3.8' | ||
PYTHON_ARCH: '64' | ||
init: | ||
- ps: echo $env:TOXENV | ||
- ps: ls C:\Python* | ||
install: | ||
- '%PYTHON_HOME%\python -mpip install --progress-bar=off tox -rci/requirements.txt' | ||
- '%PYTHON_HOME%\Scripts\virtualenv --version' | ||
- '%PYTHON_HOME%\Scripts\easy_install --version' | ||
- '%PYTHON_HOME%\Scripts\pip --version' | ||
- '%PYTHON_HOME%\Scripts\tox --version' | ||
test_script: | ||
- cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd %PYTHON_HOME%\Scripts\tox | ||
on_failure: | ||
- ps: dir "env:" | ||
- ps: get-content .tox\*\log\* | ||
|
||
### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker): | ||
# on_finish: | ||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
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.0.3 | ||
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/bmpr/__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,70 @@ | ||
# 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:ionelmc/cookiecutter-pylibrary project-path | ||
# | ||
# See: | ||
# https://pypi.org/project/cookiepatcher | ||
# | ||
# Alternatively, you can run: | ||
# | ||
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary | ||
|
||
default_context: | ||
|
||
_extensions: ['jinja2_time.TimeExtension'] | ||
_template: 'gh:ionelmc/cookiecutter-pylibrary' | ||
allow_tests_inside_package: 'no' | ||
appveyor: 'yes' | ||
c_extension_function: 'longest' | ||
c_extension_module: '_bmpr' | ||
c_extension_optional: 'no' | ||
c_extension_support: 'no' | ||
c_extension_test_pypi: 'no' | ||
c_extension_test_pypi_username: 'samesense' | ||
codacy: 'no' | ||
codacy_projectid: '[Get ID from https://app.codacy.com/app/samesense/python-bmpr/settings]' | ||
codeclimate: 'no' | ||
codecov: 'yes' | ||
command_line_interface: 'argparse' | ||
command_line_interface_bin_name: 'bmpr' | ||
coveralls: 'no' | ||
coveralls_token: '[Required for Appveyor, take it from https://coveralls.io/github/samesense/python-bmpr]' | ||
distribution_name: 'bmpr' | ||
email: 'samesense@gmail.com' | ||
full_name: 'Perry Evans' | ||
landscape: 'no' | ||
license: 'MIT license' | ||
linter: 'pylama' | ||
package_name: 'bmpr' | ||
pre_commit: 'yes' | ||
project_name: 'bmpr' | ||
project_short_description: 'Bump images' | ||
pypi_badge: 'yes' | ||
pypi_disable_upload: 'no' | ||
release_date: 'today' | ||
repo_hosting: 'github.com' | ||
repo_hosting_domain: 'github.com' | ||
repo_name: 'python-bmpr' | ||
repo_username: 'samesense' | ||
requiresio: 'yes' | ||
scrutinizer: 'no' | ||
setup_py_uses_setuptools_scm: 'no' | ||
setup_py_uses_test_runner: 'no' | ||
sphinx_docs: 'yes' | ||
sphinx_docs_hosting: 'https://python-bmpr.readthedocs.io/' | ||
sphinx_doctest: 'no' | ||
sphinx_theme: 'sphinx-py3doc-enhanced-theme' | ||
test_matrix_configurator: 'no' | ||
test_matrix_separate_coverage: 'no' | ||
test_runner: 'pytest' | ||
travis: 'yes' | ||
travis_osx: 'yes' | ||
version: '0.0.0' | ||
website: 'https://blog.ionelmc.ro' | ||
year_from: '2020' | ||
year_to: '2020' |
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 = | ||
bmpr | ||
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,16 @@ | ||
# see https://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 | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
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,71 @@ | ||
*.py[cod] | ||
__pycache__ | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
.eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
wheelhouse | ||
develop-eggs | ||
.installed.cfg | ||
lib | ||
lib64 | ||
venv*/ | ||
pyvenv*/ | ||
pip-wheel-metadata/ | ||
|
||
# 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 | ||
.benchmarks | ||
.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,15 @@ | ||
# To install the git pre-commit hook run: | ||
# pre-commit install | ||
# To update the pre-commit hooks run: | ||
# pre-commit install-hooks | ||
exclude: '^(.tox|ci/templates|.bumpversion.cfg)(/|$)' | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: master | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- repo: https://github.com/timothycrosley/isort | ||
rev: master | ||
hooks: | ||
- id: isort |
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,10 @@ | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
version: 2 | ||
sphinx: | ||
configuration: docs/conf.py | ||
formats: all | ||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
- method: pip | ||
path: . |
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,70 @@ | ||
language: python | ||
dist: xenial | ||
cache: false | ||
env: | ||
global: | ||
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so | ||
- SEGFAULT_SIGNALS=all | ||
matrix: | ||
include: | ||
- python: '3.6' | ||
env: | ||
- TOXENV=check | ||
- python: '3.6' | ||
env: | ||
- TOXENV=docs | ||
- os: osx | ||
language: generic | ||
env: | ||
- TOXENV=py27 | ||
- env: | ||
- TOXENV=py27,codecov | ||
python: '2.7' | ||
- env: | ||
- TOXENV=py35,codecov | ||
python: '3.5' | ||
- env: | ||
- TOXENV=py36,codecov | ||
python: '3.6' | ||
- os: osx | ||
language: generic | ||
env: | ||
- TOXENV=py37 | ||
- env: | ||
- TOXENV=py37,codecov | ||
python: '3.7' | ||
- env: | ||
- TOXENV=py38,codecov | ||
python: '3.8' | ||
- env: | ||
- TOXENV=pypy,codecov | ||
python: 'pypy' | ||
- env: | ||
- TOXENV=pypy3,codecov | ||
- TOXPYTHON=pypy3 | ||
python: 'pypy3' | ||
before_install: | ||
- python --version | ||
- uname -a | ||
- lsb_release -a || true | ||
- | | ||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
[[ $TOXENV =~ py3 ]] && brew upgrade python | ||
[[ $TOXENV =~ py2 ]] && brew install python@2 | ||
export PATH="/usr/local/opt/python/libexec/bin:${PATH}" | ||
fi | ||
install: | ||
- python -mpip install --progress-bar=off tox -rci/requirements.txt | ||
- virtualenv --version | ||
- easy_install --version | ||
- pip --version | ||
- tox --version | ||
script: | ||
- tox -v | ||
after_failure: | ||
- more .tox/log/* | cat | ||
- more .tox/*/log/* | cat | ||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: always |
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,5 @@ | ||
|
||
Authors | ||
======= | ||
|
||
* Perry Evans - https://blog.ionelmc.ro |
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,8 @@ | ||
|
||
Changelog | ||
========= | ||
|
||
0.0.0 (2020-05-15) | ||
------------------ | ||
|
||
* First release on PyPI. |
Oops, something went wrong.