Skip to content

Commit

Permalink
prepare patch release
Browse files Browse the repository at this point in the history
  • Loading branch information
elmotec committed Jan 30, 2021
1 parent 84530bc commit 5c4a301
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 85 deletions.
33 changes: 6 additions & 27 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
History
=======

0.11.3 (2021-01-30)
--------------------
* Added cm.get_log function for concistency with the rest of the interface.

0.11 (2021-01-16)
-------------------
* Introduced GitProject and SvnProject to ease reference the tree, client and utility functions.
Expand All @@ -14,59 +18,34 @@ History
* Introduced type hints in code base.
* Switched backend to GitHub actions from travis-ci.

0.9.6 (2019-09-29)
0.9 (2019-09-29)
------------------
* Fixed incorrect usage of subprocess.run(). See https://github.com/elmotec/codemetrics/issues/1.

0.9.5 (2019-09-05)
------------------
* Factored common logic between git and svn. Bug fixes.

0.9.4 (2019-09-02)
------------------
* Fixed test_core following https://github.com/pandas-dev/pandas/pull/24748 (Pandas 0.25.X)
* Added script `cm_func_stats` that generates statistics on the function passed as argument.
* Added appveyor support for Windows.
* Documentation.

0.9.3 (2019-04-01)
------------------
* Fixed retrieval of added and removed lines when there are spaces in a file name.
* Fixed indexed input in `get_mass_changes`.
* Fixed handling of removed files in `svn.get_diff_stats`.
* Fixed handling of branches in `svn.get_diff_stats`.

0.9 (2019-03-19)
----------------

* Started changing interfaces to leverage apply and groupby.
* Added lines added/removed for Subversion.

0.8.2 (2019-02-26)
0.8 (2019-02-26)
------------------

* Added `svn.get_diff_stats` to retrieve line changes stats per diff.

0.8 (2019-02-13)
----------------

* Integrated lizard to calculate average and function level cyclomatic complexity.

0.7 (2019-01-09)
----------------

* Function oriented interface.
* Visualization via Vega, Altair.
* Documentation.

0.6
---

* Alpha work.

0.5 (2018-05-12)
----------------

* First release on PyPI.


2 changes: 1 addition & 1 deletion codemetrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# noinspection SpellCheckingInspection
__author__ = """Elmotec"""
__email__ = "elmotec@gmx.com"
__version__ = "0.11.2"
__version__ = "0.11.3"

from .cloc import get_cloc
from .core import (
Expand Down
114 changes: 57 additions & 57 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
[bumpversion]
current_version = 0.11.2
current_version = 0.11.3
commit = False
tag = False

[metadata]
name = codemetrics
summary = SCM mining utility classes
version = 0.11.2
version = 0.11.3
author = elmotec
author_email = elmotec@gmx.com
description-file =
README.rst
HISTORY.rst
description-file =
README.rst
HISTORY.rst
long_description = file: README.rst, HISTORY.rst, LICENSE.txt
long_description_content_type = text/x-rst
license = MIT
keywords = code,metrics,mining,scm,subversion,svn,Adam Tornhill,utilities
home-page = http://github.com/elmotec/codemetrics
requires-dist = setuptools
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Environment :: Console
Natural Language :: English
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Software Development
Topic :: Utilities
Topic :: Software Development :: Version Control
Intended Audience :: Developers
Intended Audience :: Education
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Environment :: Console
Natural Language :: English
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Software Development
Topic :: Utilities
Topic :: Software Development :: Version Control
Intended Audience :: Developers
Intended Audience :: Education

[options]
setup_requires =
wheel
install_requires =
numpy!=1.19.4
click>=6.0
pandas
tqdm
python-dateutil
scikit-learn
lizard
mypy-extensions
dataclasses;python_version=="3.6"
setup_requires =
wheel
install_requires =
numpy!=1.19.4
click>=6.0
pandas
tqdm
python-dateutil
scikit-learn
lizard
mypy-extensions
dataclasses;python_version=="3.6"
include_package_data = True,
packages = codemetrics
test_suite = tests
python_requires = >=3.6

[entry_points]
console_scripts =
cm_func_stats=codemetrics.cmdline:cm_func_stats
console_scripts =
cm_func_stats=codemetrics.cmdline:cm_func_stats

[build-system]
requires =
setuptools>=40.9.0
wheel
requires =
setuptools>=40.9.0
wheel
build-backend = "setuptools.build_meta"

[bumpversion:file:setup.cfg]
Expand All @@ -83,38 +83,38 @@ envlist = py36, py37, py38, py39, coverage, docs
isolated_build = True

[testenv]
deps =
--prefer-binary
.
pytest
deps =
--prefer-binary
.
pytest
commands = pytest tests

[testenv:coverage]
deps =
--prefer-binary
.
pytest
pytest-cov
commands =
coverage erase
pytest --cov=codemetrics --cov-branch --cov-report=term-missing:skip-covered --cov-config=setup.cfg
coverage report --omit='.tox/*'
coverage html --omit='.tox/*'
deps =
--prefer-binary
.
pytest
pytest-cov
commands =
coverage erase
pytest --cov=codemetrics --cov-branch --cov-report=term-missing:skip-covered --cov-config=setup.cfg
coverage report --omit='.tox/*'
coverage html --omit='.tox/*'

[testenv:docs]
deps =
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
deps =
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
commands = python setup.py build_sphinx

[tool:pytest]
norecursedirs = .* *.egg* build dist docs conf

[coverage:run]
omit =
docs/*
tests/*
conf/*
omit =
docs/*
tests/*
conf/*

[aliases]

0 comments on commit 5c4a301

Please sign in to comment.