Fix naming hyphenation from boilerplate
This commit is contained in:
parent
c3e75cad74
commit
4d9e548945
@ -53,12 +53,6 @@ Make a new release tag:
|
|||||||
$ git tag x.x.x
|
$ git tag x.x.x
|
||||||
$ git push --tags
|
$ git push --tags
|
||||||
|
|
||||||
If you have a development install locally, you can verify:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
$ merkle-tree-stream --version
|
|
||||||
|
|
||||||
Then run the release process:
|
Then run the release process:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
.. _header:
|
.. _header:
|
||||||
|
|
||||||
************************
|
******************
|
||||||
merkle-tree-stream
|
merkle-tree-stream
|
||||||
************************
|
******************
|
||||||
|
|
||||||
.. image:: https://img.shields.io/badge/license-MIT-brightgreen.svg
|
.. image:: https://img.shields.io/badge/license-MIT-brightgreen.svg
|
||||||
:target: LICENSE
|
:target: LICENSE
|
||||||
|
@ -7,6 +7,6 @@ except ImportError:
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
__version__ = pkg_resources.get_distribution('merkle-tree-stream').version
|
__version__ = pkg_resources.get_distribution('merkle_tree_stream').version
|
||||||
except Exception:
|
except Exception:
|
||||||
__version__ = 'unknown'
|
__version__ = 'unknown'
|
@ -16,7 +16,7 @@ include = '\.pyi?$'
|
|||||||
directory = "changelog/"
|
directory = "changelog/"
|
||||||
filename = "CHANGELOG.rst"
|
filename = "CHANGELOG.rst"
|
||||||
package = "merkle-tree-stream"
|
package = "merkle-tree-stream"
|
||||||
package_dir = "merkle-tree-stream"
|
package_dir = "merkle_tree_stream"
|
||||||
|
|
||||||
[[tool.towncrier.type]]
|
[[tool.towncrier.type]]
|
||||||
directory = "removal"
|
directory = "removal"
|
||||||
|
@ -5,7 +5,7 @@ testpaths = test
|
|||||||
max-line-length = 80
|
max-line-length = 80
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
known_first_party = merkle-tree-stream
|
known_first_party = merkle_tree_stream
|
||||||
known_third_party = pytest
|
known_third_party = pytest
|
||||||
line_length = 80
|
line_length = 80
|
||||||
multi_line_output = 3
|
multi_line_output = 3
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
def test_version_fails_gracefully(mocker):
|
def test_version_fails_gracefully(mocker):
|
||||||
target = 'pkg_resources.get_distribution'
|
target = 'pkg_resources.get_distribution'
|
||||||
with mocker.patch(target, side_effect=Exception()):
|
with mocker.patch(target, side_effect=Exception()):
|
||||||
from merkle-tree-stream.__init__ import __version__
|
from merkle_tree_stream.__init__ import __version__
|
||||||
|
|
||||||
assert __version__ == 'unknown'
|
assert __version__ == 'unknown'
|
||||||
|
10
tox.ini
10
tox.ini
@ -18,7 +18,7 @@ deps =
|
|||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
commands =
|
commands =
|
||||||
pytest test/ --cov={toxinidir}/merkle-tree-stream/ --no-cov-on-fail {posargs}
|
pytest test/ --cov={toxinidir}/merkle_tree_stream/ --no-cov-on-fail {posargs}
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
description = lint the source
|
description = lint the source
|
||||||
@ -26,7 +26,7 @@ skipdist = True
|
|||||||
deps =
|
deps =
|
||||||
flake8
|
flake8
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs} merkle-tree-stream/ test/
|
flake8 {posargs} merkle_tree_stream/ test/
|
||||||
|
|
||||||
[testenv:sort]
|
[testenv:sort]
|
||||||
description = sort the source
|
description = sort the source
|
||||||
@ -34,7 +34,7 @@ skipdist = True
|
|||||||
deps =
|
deps =
|
||||||
isort
|
isort
|
||||||
commands =
|
commands =
|
||||||
isort {posargs:-rc -c} -sp setup.cfg merkle-tree-stream/ test/
|
isort {posargs:-rc -c} -sp setup.cfg merkle_tree_stream/ test/
|
||||||
|
|
||||||
[testenv:format]
|
[testenv:format]
|
||||||
description = format the source
|
description = format the source
|
||||||
@ -43,7 +43,7 @@ basepython = python3.6
|
|||||||
deps =
|
deps =
|
||||||
black
|
black
|
||||||
commands =
|
commands =
|
||||||
black {posargs:--check} merkle-tree-stream/ test/
|
black {posargs:--check} merkle_tree_stream/ test/
|
||||||
|
|
||||||
[testenv:type]
|
[testenv:type]
|
||||||
description = type check the source
|
description = type check the source
|
||||||
@ -52,7 +52,7 @@ skipdist = True
|
|||||||
deps =
|
deps =
|
||||||
mypy
|
mypy
|
||||||
commands =
|
commands =
|
||||||
mypy merkle-tree-stream/ test/
|
mypy merkle_tree_stream/ test/
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
description = build the documentation
|
description = build the documentation
|
||||||
|
Loading…
Reference in New Issue
Block a user