diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aee247f..e618f4a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black # It is recommended to specify the latest version of Python diff --git a/multicounter/__init__.py b/multicounter/__init__.py index 5d6a88a..a32fc89 100644 --- a/multicounter/__init__.py +++ b/multicounter/__init__.py @@ -3,7 +3,4 @@ # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. - -__version__ = "0.1.1" - from .multicounter import MultiCounter diff --git a/pyproject.toml b/pyproject.toml index e2d6e3c..9922227 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,14 @@ [tool.poetry] name = "multicounter" -version = "0.1.1" +version = "0.1.2" description = "A simple, elegant counter with support for counting multiple things at once." authors = ["Joseph Hale "] +license = "MPL-2.0" +readme = "README.md" +homepage = "https://github.com/jhale1805/multicounter" +repository = "https://github.com/jhale1805/multicounter" +documentation = "https://github.com/jhale1805/multicounter" +keywords = [ "counter", "statistics" ] [tool.poetry.dependencies] python = "^3.8" diff --git a/tests/test_multicounter.py b/tests/test_multicounter.py index 2710d8b..cc6598b 100644 --- a/tests/test_multicounter.py +++ b/tests/test_multicounter.py @@ -5,7 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. import pytest -from multicounter import __version__ from multicounter import MultiCounter @@ -14,10 +13,6 @@ def mc(): return MultiCounter() -def test_version(): - assert __version__ == "0.1.1" - - def test_new_multicounter_has_no_counters(mc): assert mc.get_counters() == {}