Skip to content

Commit c509f48

Browse files
committed
Upgrade skel.
1 parent 4cac6eb commit c509f48

15 files changed

Lines changed: 558 additions & 228 deletions

.bumpversion.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[bumpversion]
2+
current_version = 0.5.1
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:setup.py]
7+
[bumpversion:file:docs/conf.py]
8+
[bumpversion:file:src/hunter.py]

.cookiecutterrc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This file exists so you can easily regenerate your project.
2+
#
3+
# Unfortunately cookiecutter can't use this right away so
4+
# you have to copy this file to ~/.cookiecutterrc
5+
6+
default_context:
7+
8+
appveyor: 'yes'
9+
c_extension_optional: 'yes'
10+
c_extension_support: 'yes'
11+
codacy: 'yes'
12+
codeclimate: 'yes'
13+
codecov: 'yes'
14+
command_line_interface: 'no'
15+
coveralls: 'yes'
16+
distribution_name: 'hunter'
17+
email: 'contact@ionelmc.ro'
18+
full_name: 'Ionel Cristian Mărieș'
19+
github_username: 'ionelmc'
20+
landscape: 'yes'
21+
package_name: 'hunter'
22+
project_name: 'Hunter'
23+
project_short_description: 'Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other nefarious purposes. It has a simple Python API and a convenient terminal API (see `Environment variable activation <env-var-activation_>`_).'
24+
release_date: '2015-04-15'
25+
repo_name: 'python-hunter'
26+
requiresio: 'yes'
27+
scrutinizer: 'yes'
28+
sphinx_theme: 'sphinx-py3doc-enhanced-theme'
29+
test_matrix_configurator: 'no'
30+
test_runner: 'pytest'
31+
travis: 'yes'
32+
version: '0.5.1'
33+
website: 'http://blog.ionelmc.ro'
34+
year: '2015'

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
dist
1010
build
1111
eggs
12+
.eggs
1213
parts
1314
bin
1415
var
@@ -17,16 +18,18 @@ develop-eggs
1718
.installed.cfg
1819
lib
1920
lib64
21+
venv*/
22+
pyvenv*/
2023

2124
# Installer logs
2225
pip-log.txt
2326

2427
# Unit test / coverage reports
2528
.coverage
2629
.tox
27-
.coverage
2830
.coverage.*
2931
nosetests.xml
32+
coverage.xml
3033
htmlcov
3134

3235
# Translations
@@ -37,6 +40,8 @@ htmlcov
3740
.project
3841
.pydevproject
3942
.idea
43+
*.iml
44+
*.komodoproject
4045

4146
# Complexity
4247
output/*.html
@@ -50,5 +55,9 @@ docs/_build
5055
.*.sw[po]
5156
.build
5257
.ve
58+
.env
59+
.cache
60+
.pytest
5361
.bootstrap
62+
.appveyor.token
5463
*.bak

.travis.yml

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,45 @@
11
language: python
2-
python: 2.7
2+
python: '3.5'
33
sudo: false
44
env:
55
global:
66
LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
77
matrix:
88
- TOXENV=check
9-
- TOXENV=2.7,coveralls
10-
- TOXENV=2.7-nocover
11-
- TOXENV=3.3,coveralls
12-
- TOXENV=3.3-nocover
13-
- TOXENV=3.4,coveralls
14-
- TOXENV=3.4-nocover
15-
- TOXENV=pypy,coveralls
16-
- TOXENV=pypy-nocover
9+
10+
- TOXENV=2.6-cover,extension-coveralls,coveralls,codecov
11+
- TOXENV=2.6-nocov
12+
13+
- TOXENV=2.7-cover,extension-coveralls,coveralls,codecov
14+
- TOXENV=2.7-nocov
15+
16+
- TOXENV=3.3-cover,extension-coveralls,coveralls,codecov
17+
- TOXENV=3.3-nocov
18+
19+
- TOXENV=3.4-cover,extension-coveralls,coveralls,codecov
20+
- TOXENV=3.4-nocov
21+
22+
- TOXENV=3.5-cover,extension-coveralls,coveralls,codecov
23+
- TOXENV=3.5-nocov
24+
25+
- TOXENV=pypy-cover,extension-coveralls,coveralls,codecov
26+
- TOXENV=pypy-nocov
27+
1728
before_install:
1829
- python --version
19-
- virtualenv --version
20-
- pip --version
2130
- uname -a
2231
- lsb_release -a
2332
install:
2433
- pip install tox
34+
- virtualenv --version
35+
- easy_install --version
36+
- pip --version
37+
- tox --version
2538
script:
2639
- tox -v
40+
after_failure:
41+
- more .tox/log/* | cat
42+
- more .tox/*/log/* | cat
2743
notifications:
2844
email:
2945
on_success: never

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ graft src
44
graft ci
55
graft tests
66

7-
include *.komodoproject
87
include .bumpversion.cfg
98
include .coveragerc
9+
include .cookiecutterrc
1010
include .isort.cfg
1111
include .pylintrc
1212

@@ -18,4 +18,4 @@ include README.rst
1818

1919
include tox.ini .travis.yml appveyor.yml
2020

21-
global-exclude *.py[co] __pycache__ *.so *.pyd
21+
global-exclude *.py[cod] __pycache__ *.so *.dylib

README.rst

Lines changed: 39 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,76 @@
1-
===============================
1+
======
22
Hunter
3-
===============================
3+
======
44

5-
| |docs| |travis| |appveyor| |coveralls| |landscape| |scrutinizer|
6-
| |version| |downloads| |wheel| |supported-versions| |supported-implementations|
5+
.. list-table::
6+
:stub-columns: 1
7+
8+
* - docs
9+
- |docs|
10+
* - tests
11+
- | |travis| |appveyor| |requires|
12+
| |coveralls| |codecov|
13+
| |landscape| |scrutinizer| |codacy| |codeclimate|
14+
* - package
15+
- |version| |downloads| |wheel| |supported-versions| |supported-implementations|
716

817
.. |docs| image:: https://readthedocs.org/projects/python-hunter/badge/?style=flat
918
:target: https://readthedocs.org/projects/python-hunter
1019
:alt: Documentation Status
1120

12-
.. |travis| image:: http://img.shields.io/travis/ionelmc/python-hunter/master.png?style=flat
21+
.. |travis| image:: https://travis-ci.org/ionelmc/python-hunter.svg?branch=master
1322
:alt: Travis-CI Build Status
1423
:target: https://travis-ci.org/ionelmc/python-hunter
1524

16-
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ionelmc/python-hunter?branch=master
25+
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ionelmc/python-hunter?branch=master&svg=true
1726
:alt: AppVeyor Build Status
1827
:target: https://ci.appveyor.com/project/ionelmc/python-hunter
1928

20-
.. |coveralls| image:: http://img.shields.io/coveralls/ionelmc/python-hunter/master.png?style=flat
29+
.. |requires| image:: https://requires.io/github/ionelmc/python-hunter/requirements.svg?branch=master
30+
:alt: Requirements Status
31+
:target: https://requires.io/github/ionelmc/python-hunter/requirements/?branch=master
32+
33+
.. |coveralls| image:: https://coveralls.io/repos/ionelmc/python-hunter/badge.svg?branch=master&service=github
2134
:alt: Coverage Status
2235
:target: https://coveralls.io/r/ionelmc/python-hunter
2336

37+
.. |codecov| image:: https://codecov.io/github/ionelmc/python-hunter/coverage.svg?branch=master
38+
:alt: Coverage Status
39+
:target: https://codecov.io/github/ionelmc/python-hunter
40+
2441
.. |landscape| image:: https://landscape.io/github/ionelmc/python-hunter/master/landscape.svg?style=flat
2542
:target: https://landscape.io/github/ionelmc/python-hunter/master
2643
:alt: Code Quality Status
2744

28-
.. |version| image:: http://img.shields.io/pypi/v/hunter.png?style=flat
45+
.. |codacy| image:: https://img.shields.io/codacy/REPLACE_WITH_PROJECT_ID.svg?style=flat
46+
:target: https://www.codacy.com/app/ionelmc/python-hunter
47+
:alt: Codacy Code Quality Status
48+
49+
.. |codeclimate| image:: https://codeclimate.com/github/ionelmc/python-hunter/badges/gpa.svg
50+
:target: https://codeclimate.com/github/ionelmc/python-hunter
51+
:alt: CodeClimate Quality Status
52+
.. |version| image:: https://img.shields.io/pypi/v/hunter.svg?style=flat
2953
:alt: PyPI Package latest release
3054
:target: https://pypi.python.org/pypi/hunter
3155

32-
.. |downloads| image:: http://img.shields.io/pypi/dm/hunter.png?style=flat
56+
.. |downloads| image:: https://img.shields.io/pypi/dm/hunter.svg?style=flat
3357
:alt: PyPI Package monthly downloads
3458
:target: https://pypi.python.org/pypi/hunter
3559

36-
.. |wheel| image:: https://pypip.in/wheel/hunter/badge.png?style=flat
60+
.. |wheel| image:: https://img.shields.io/pypi/wheel/hunter.svg?style=flat
3761
:alt: PyPI Wheel
3862
:target: https://pypi.python.org/pypi/hunter
3963

40-
.. |supported-versions| image:: https://pypip.in/py_versions/hunter/badge.png?style=flat
64+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/hunter.svg?style=flat
4165
:alt: Supported versions
4266
:target: https://pypi.python.org/pypi/hunter
4367

44-
.. |supported-implementations| image:: https://pypip.in/implementation/hunter/badge.png?style=flat
45-
:alt: Supported imlementations
68+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/hunter.svg?style=flat
69+
:alt: Supported implementations
4670
:target: https://pypi.python.org/pypi/hunter
4771

48-
.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/python-hunter/master.png?style=flat
49-
:alt: Scrtinizer Status
72+
.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/python-hunter/master.svg?style=flat
73+
:alt: Scrutinizer Status
5074
:target: https://scrutinizer-ci.com/g/ionelmc/python-hunter/
5175

5276
Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other

0 commit comments

Comments
 (0)