From 99b6c6eb895422e2d96627901081387b2a496fed Mon Sep 17 00:00:00 2001 From: Igor Davydenko Date: Fri, 12 Mar 2021 22:37:37 +0100 Subject: [PATCH] build: Bump Python dev version to 3.9.2 As well as bump pre-commit hooks & some dependencies. --- .github/workflows/ci.yml | 12 +-- .pre-commit-config.yaml | 16 ++-- .python-version | 2 +- poetry.lock | 178 ++++++++++++++++++++------------------- pyproject.toml | 4 +- tests/test_git.py | 4 +- 6 files changed, 109 insertions(+), 107 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cc6e94..2a2c48c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ on: branches: ["master"] env: - COVERALLS_VERSION: "2.1.2" - DEV_PYTHON_VERSION: "3.9" - POETRY_VERSION: "1.1.4" - TOX_GH_ACTIONS_VERSION: "1.3.0" - TOX_VERSION: "3.20.1" - TWINE_VERSION: "3.2.0" + COVERALLS_VERSION: "3.0.1" + DEV_PYTHON_VERSION: "3.9.2" + POETRY_VERSION: "1.1.5" + TOX_GH_ACTIONS_VERSION: "2.4.0" + TOX_VERSION: "3.23.0" + TWINE_VERSION: "3.3.0" jobs: dev: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 544988f..d40d9db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: minimum_pre_commit_version: "1.17.0" repos: - repo: "https://github.com/commitizen-tools/commitizen" - rev: "v2.4.2" + rev: "v2.16.0" hooks: - id: "commitizen" # By default commitizen using `python3` instead `python` language, so @@ -22,7 +22,7 @@ repos: exclude: ^docs/.*$ - repo: "https://github.com/asottile/blacken-docs" - rev: "v1.8.0" + rev: "v1.10.0" hooks: - id: "blacken-docs" name: "Format docs (blacken-docs)" @@ -31,7 +31,7 @@ repos: - "black==20.8b1" - repo: "https://github.com/pre-commit/pre-commit-hooks" - rev: "v3.3.0" + rev: "v3.4.0" hooks: - id: "end-of-file-fixer" - id: "trailing-whitespace" @@ -47,17 +47,17 @@ repos: additional_dependencies: &flake8_additional_dependencies - "flake8==3.8.4" - "flake8-broken-line==0.3.0" - - "flake8-bugbear==20.1.4" + - "flake8-bugbear==21.3.2" - "flake8-builtins==1.5.3" - - "flake8-comprehensions==3.3.0" + - "flake8-comprehensions==3.3.1" - "flake8-eradicate==1.0.0" - "flake8-import-order==0.18.1" - "flake8-mutable==1.2.0" - "flake8-pie==0.6.1" - "flake8-quotes==3.2.0" - "flake8-string-format==0.3.0" - - "flake8-tidy-imports==4.1.0" - - "flake8-variables-names==0.0.3" + - "flake8-tidy-imports==4.2.1" + - "flake8-variables-names==0.0.4" - "pep8-naming==0.11.1" exclude: ^docs/.*$ @@ -70,7 +70,7 @@ repos: exclude: ^docs/.*$ - repo: "https://github.com/pre-commit/mirrors-mypy" - rev: "v0.790" + rev: "v0.812" hooks: - id: "mypy" name: "Lint code (mypy)" diff --git a/.python-version b/.python-version index 6bd1074..2009c7d 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9.1 +3.9.2 diff --git a/poetry.lock b/poetry.lock index 84d58d9..20e7d31 100644 --- a/poetry.lock +++ b/poetry.lock @@ -30,15 +30,12 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "coverage" -version = "5.4" +version = "5.5" description = "Code coverage measurement for Python" category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" -[package.dependencies] -toml = {version = "*", optional = true, markers = "extra == \"toml\""} - [package.extras] toml = ["toml"] @@ -142,7 +139,7 @@ coverage = ">=5.2.1" pytest = ">=4.6" [package.extras] -testing = ["fields", "hunter", "process-tests (==2.0.2)", "six", "pytest-xdist", "virtualenv"] +testing = ["fields", "hunter", "process-tests (2.0.2)", "six", "pytest-xdist", "virtualenv"] [[package]] name = "python-dateutil" @@ -165,7 +162,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" [[package]] name = "time-machine" -version = "2.0.1" +version = "2.1.0" description = "Travel through time in your tests." category = "dev" optional = false @@ -192,12 +189,12 @@ python-versions = ">=3.6" [package.extras] docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["pytest (>=3.5,<3.7.3 || >3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "01b533355859a6b77b55aab0b42d7d3a95f8ce5f349203dff9363c341cfd49ad" +content-hash = "912fd542750feec5515613766313e98924fac8426324bbe1cc4ae4acece7c62e" [metadata.files] atomicwrites = [ @@ -210,65 +207,66 @@ attrs = [ ] colorama = [ {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, ] coverage = [ - {file = "coverage-5.4-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:6d9c88b787638a451f41f97446a1c9fd416e669b4d9717ae4615bd29de1ac135"}, - {file = "coverage-5.4-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:66a5aae8233d766a877c5ef293ec5ab9520929c2578fd2069308a98b7374ea8c"}, - {file = "coverage-5.4-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9754a5c265f991317de2bac0c70a746efc2b695cf4d49f5d2cddeac36544fb44"}, - {file = "coverage-5.4-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:fbb17c0d0822684b7d6c09915677a32319f16ff1115df5ec05bdcaaee40b35f3"}, - {file = "coverage-5.4-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:b7f7421841f8db443855d2854e25914a79a1ff48ae92f70d0a5c2f8907ab98c9"}, - {file = "coverage-5.4-cp27-cp27m-win32.whl", hash = "sha256:4a780807e80479f281d47ee4af2eb2df3e4ccf4723484f77da0bb49d027e40a1"}, - {file = "coverage-5.4-cp27-cp27m-win_amd64.whl", hash = "sha256:87c4b38288f71acd2106f5d94f575bc2136ea2887fdb5dfe18003c881fa6b370"}, - {file = "coverage-5.4-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:c6809ebcbf6c1049002b9ac09c127ae43929042ec1f1dbd8bb1615f7cd9f70a0"}, - {file = "coverage-5.4-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:ba7ca81b6d60a9f7a0b4b4e175dcc38e8fef4992673d9d6e6879fd6de00dd9b8"}, - {file = "coverage-5.4-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:89fc12c6371bf963809abc46cced4a01ca4f99cba17be5e7d416ed7ef1245d19"}, - {file = "coverage-5.4-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:4a8eb7785bd23565b542b01fb39115a975fefb4a82f23d407503eee2c0106247"}, - {file = "coverage-5.4-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:7e40d3f8eb472c1509b12ac2a7e24158ec352fc8567b77ab02c0db053927e339"}, - {file = "coverage-5.4-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:1ccae21a076d3d5f471700f6d30eb486da1626c380b23c70ae32ab823e453337"}, - {file = "coverage-5.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:755c56beeacac6a24c8e1074f89f34f4373abce8b662470d3aa719ae304931f3"}, - {file = "coverage-5.4-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:322549b880b2d746a7672bf6ff9ed3f895e9c9f108b714e7360292aa5c5d7cf4"}, - {file = "coverage-5.4-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:60a3307a84ec60578accd35d7f0c71a3a971430ed7eca6567399d2b50ef37b8c"}, - {file = "coverage-5.4-cp35-cp35m-win32.whl", hash = "sha256:1375bb8b88cb050a2d4e0da901001347a44302aeadb8ceb4b6e5aa373b8ea68f"}, - {file = "coverage-5.4-cp35-cp35m-win_amd64.whl", hash = "sha256:16baa799ec09cc0dcb43a10680573269d407c159325972dd7114ee7649e56c66"}, - {file = "coverage-5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:2f2cf7a42d4b7654c9a67b9d091ec24374f7c58794858bff632a2039cb15984d"}, - {file = "coverage-5.4-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:b62046592b44263fa7570f1117d372ae3f310222af1fc1407416f037fb3af21b"}, - {file = "coverage-5.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:812eaf4939ef2284d29653bcfee9665f11f013724f07258928f849a2306ea9f9"}, - {file = "coverage-5.4-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:859f0add98707b182b4867359e12bde806b82483fb12a9ae868a77880fc3b7af"}, - {file = "coverage-5.4-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:04b14e45d6a8e159c9767ae57ecb34563ad93440fc1b26516a89ceb5b33c1ad5"}, - {file = "coverage-5.4-cp36-cp36m-win32.whl", hash = "sha256:ebfa374067af240d079ef97b8064478f3bf71038b78b017eb6ec93ede1b6bcec"}, - {file = "coverage-5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:84df004223fd0550d0ea7a37882e5c889f3c6d45535c639ce9802293b39cd5c9"}, - {file = "coverage-5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:1b811662ecf72eb2d08872731636aee6559cae21862c36f74703be727b45df90"}, - {file = "coverage-5.4-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6b588b5cf51dc0fd1c9e19f622457cc74b7d26fe295432e434525f1c0fae02bc"}, - {file = "coverage-5.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:3fe50f1cac369b02d34ad904dfe0771acc483f82a1b54c5e93632916ba847b37"}, - {file = "coverage-5.4-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:32ab83016c24c5cf3db2943286b85b0a172dae08c58d0f53875235219b676409"}, - {file = "coverage-5.4-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:68fb816a5dd901c6aff352ce49e2a0ffadacdf9b6fae282a69e7a16a02dad5fb"}, - {file = "coverage-5.4-cp37-cp37m-win32.whl", hash = "sha256:a636160680c6e526b84f85d304e2f0bb4e94f8284dd765a1911de9a40450b10a"}, - {file = "coverage-5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:bb32ca14b4d04e172c541c69eec5f385f9a075b38fb22d765d8b0ce3af3a0c22"}, - {file = "coverage-5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4d7165a4e8f41eca6b990c12ee7f44fef3932fac48ca32cecb3a1b2223c21f"}, - {file = "coverage-5.4-cp38-cp38-manylinux1_i686.whl", hash = "sha256:a565f48c4aae72d1d3d3f8e8fb7218f5609c964e9c6f68604608e5958b9c60c3"}, - {file = "coverage-5.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:fff1f3a586246110f34dc762098b5afd2de88de507559e63553d7da643053786"}, - {file = "coverage-5.4-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:a839e25f07e428a87d17d857d9935dd743130e77ff46524abb992b962eb2076c"}, - {file = "coverage-5.4-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:6625e52b6f346a283c3d563d1fd8bae8956daafc64bb5bbd2b8f8a07608e3994"}, - {file = "coverage-5.4-cp38-cp38-win32.whl", hash = "sha256:5bee3970617b3d74759b2d2df2f6a327d372f9732f9ccbf03fa591b5f7581e39"}, - {file = "coverage-5.4-cp38-cp38-win_amd64.whl", hash = "sha256:03ed2a641e412e42cc35c244508cf186015c217f0e4d496bf6d7078ebe837ae7"}, - {file = "coverage-5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:14a9f1887591684fb59fdba8feef7123a0da2424b0652e1b58dd5b9a7bb1188c"}, - {file = "coverage-5.4-cp39-cp39-manylinux1_i686.whl", hash = "sha256:9564ac7eb1652c3701ac691ca72934dd3009997c81266807aef924012df2f4b3"}, - {file = "coverage-5.4-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:0f48fc7dc82ee14aeaedb986e175a429d24129b7eada1b7e94a864e4f0644dde"}, - {file = "coverage-5.4-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:107d327071061fd4f4a2587d14c389a27e4e5c93c7cba5f1f59987181903902f"}, - {file = "coverage-5.4-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:0cdde51bfcf6b6bd862ee9be324521ec619b20590787d1655d005c3fb175005f"}, - {file = "coverage-5.4-cp39-cp39-win32.whl", hash = "sha256:c67734cff78383a1f23ceba3b3239c7deefc62ac2b05fa6a47bcd565771e5880"}, - {file = "coverage-5.4-cp39-cp39-win_amd64.whl", hash = "sha256:c669b440ce46ae3abe9b2d44a913b5fd86bb19eb14a8701e88e3918902ecd345"}, - {file = "coverage-5.4-pp36-none-any.whl", hash = "sha256:c0ff1c1b4d13e2240821ef23c1efb1f009207cb3f56e16986f713c2b0e7cd37f"}, - {file = "coverage-5.4-pp37-none-any.whl", hash = "sha256:cd601187476c6bed26a0398353212684c427e10a903aeafa6da40c63309d438b"}, - {file = "coverage-5.4.tar.gz", hash = "sha256:6d2e262e5e8da6fa56e774fb8e2643417351427604c2b177f8e8c5f75fc928ca"}, + {file = "coverage-5.5-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:b6d534e4b2ab35c9f93f46229363e17f63c53ad01330df9f2d6bd1187e5eaacf"}, + {file = "coverage-5.5-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:b7895207b4c843c76a25ab8c1e866261bcfe27bfaa20c192de5190121770672b"}, + {file = "coverage-5.5-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:c2723d347ab06e7ddad1a58b2a821218239249a9e4365eaff6649d31180c1669"}, + {file = "coverage-5.5-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:900fbf7759501bc7807fd6638c947d7a831fc9fdf742dc10f02956ff7220fa90"}, + {file = "coverage-5.5-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:004d1880bed2d97151facef49f08e255a20ceb6f9432df75f4eef018fdd5a78c"}, + {file = "coverage-5.5-cp27-cp27m-win32.whl", hash = "sha256:06191eb60f8d8a5bc046f3799f8a07a2d7aefb9504b0209aff0b47298333302a"}, + {file = "coverage-5.5-cp27-cp27m-win_amd64.whl", hash = "sha256:7501140f755b725495941b43347ba8a2777407fc7f250d4f5a7d2a1050ba8e82"}, + {file = "coverage-5.5-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:372da284cfd642d8e08ef606917846fa2ee350f64994bebfbd3afb0040436905"}, + {file = "coverage-5.5-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:8963a499849a1fc54b35b1c9f162f4108017b2e6db2c46c1bed93a72262ed083"}, + {file = "coverage-5.5-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:869a64f53488f40fa5b5b9dcb9e9b2962a66a87dab37790f3fcfb5144b996ef5"}, + {file = "coverage-5.5-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:4a7697d8cb0f27399b0e393c0b90f0f1e40c82023ea4d45d22bce7032a5d7b81"}, + {file = "coverage-5.5-cp310-cp310-macosx_10_14_x86_64.whl", hash = "sha256:8d0a0725ad7c1a0bcd8d1b437e191107d457e2ec1084b9f190630a4fb1af78e6"}, + {file = "coverage-5.5-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:51cb9476a3987c8967ebab3f0fe144819781fca264f57f89760037a2ea191cb0"}, + {file = "coverage-5.5-cp310-cp310-win_amd64.whl", hash = "sha256:c0891a6a97b09c1f3e073a890514d5012eb256845c451bd48f7968ef939bf4ae"}, + {file = "coverage-5.5-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:3487286bc29a5aa4b93a072e9592f22254291ce96a9fbc5251f566b6b7343cdb"}, + {file = "coverage-5.5-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:deee1077aae10d8fa88cb02c845cfba9b62c55e1183f52f6ae6a2df6a2187160"}, + {file = "coverage-5.5-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:f11642dddbb0253cc8853254301b51390ba0081750a8ac03f20ea8103f0c56b6"}, + {file = "coverage-5.5-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:6c90e11318f0d3c436a42409f2749ee1a115cd8b067d7f14c148f1ce5574d701"}, + {file = "coverage-5.5-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:30c77c1dc9f253283e34c27935fded5015f7d1abe83bc7821680ac444eaf7793"}, + {file = "coverage-5.5-cp35-cp35m-win32.whl", hash = "sha256:9a1ef3b66e38ef8618ce5fdc7bea3d9f45f3624e2a66295eea5e57966c85909e"}, + {file = "coverage-5.5-cp35-cp35m-win_amd64.whl", hash = "sha256:972c85d205b51e30e59525694670de6a8a89691186012535f9d7dbaa230e42c3"}, + {file = "coverage-5.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:af0e781009aaf59e25c5a678122391cb0f345ac0ec272c7961dc5455e1c40066"}, + {file = "coverage-5.5-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:74d881fc777ebb11c63736622b60cb9e4aee5cace591ce274fb69e582a12a61a"}, + {file = "coverage-5.5-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:92b017ce34b68a7d67bd6d117e6d443a9bf63a2ecf8567bb3d8c6c7bc5014465"}, + {file = "coverage-5.5-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:d636598c8305e1f90b439dbf4f66437de4a5e3c31fdf47ad29542478c8508bbb"}, + {file = "coverage-5.5-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:41179b8a845742d1eb60449bdb2992196e211341818565abded11cfa90efb821"}, + {file = "coverage-5.5-cp36-cp36m-win32.whl", hash = "sha256:040af6c32813fa3eae5305d53f18875bedd079960822ef8ec067a66dd8afcd45"}, + {file = "coverage-5.5-cp36-cp36m-win_amd64.whl", hash = "sha256:5fec2d43a2cc6965edc0bb9e83e1e4b557f76f843a77a2496cbe719583ce8184"}, + {file = "coverage-5.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:18ba8bbede96a2c3dde7b868de9dcbd55670690af0988713f0603f037848418a"}, + {file = "coverage-5.5-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:2910f4d36a6a9b4214bb7038d537f015346f413a975d57ca6b43bf23d6563b53"}, + {file = "coverage-5.5-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:f0b278ce10936db1a37e6954e15a3730bea96a0997c26d7fee88e6c396c2086d"}, + {file = "coverage-5.5-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:796c9c3c79747146ebd278dbe1e5c5c05dd6b10cc3bcb8389dfdf844f3ead638"}, + {file = "coverage-5.5-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:53194af30d5bad77fcba80e23a1441c71abfb3e01192034f8246e0d8f99528f3"}, + {file = "coverage-5.5-cp37-cp37m-win32.whl", hash = "sha256:184a47bbe0aa6400ed2d41d8e9ed868b8205046518c52464fde713ea06e3a74a"}, + {file = "coverage-5.5-cp37-cp37m-win_amd64.whl", hash = "sha256:2949cad1c5208b8298d5686d5a85b66aae46d73eec2c3e08c817dd3513e5848a"}, + {file = "coverage-5.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:217658ec7187497e3f3ebd901afdca1af062b42cfe3e0dafea4cced3983739f6"}, + {file = "coverage-5.5-cp38-cp38-manylinux1_i686.whl", hash = "sha256:1aa846f56c3d49205c952d8318e76ccc2ae23303351d9270ab220004c580cfe2"}, + {file = "coverage-5.5-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:24d4a7de75446be83244eabbff746d66b9240ae020ced65d060815fac3423759"}, + {file = "coverage-5.5-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d1f8bf7b90ba55699b3a5e44930e93ff0189aa27186e96071fac7dd0d06a1873"}, + {file = "coverage-5.5-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:970284a88b99673ccb2e4e334cfb38a10aab7cd44f7457564d11898a74b62d0a"}, + {file = "coverage-5.5-cp38-cp38-win32.whl", hash = "sha256:01d84219b5cdbfc8122223b39a954820929497a1cb1422824bb86b07b74594b6"}, + {file = "coverage-5.5-cp38-cp38-win_amd64.whl", hash = "sha256:2e0d881ad471768bf6e6c2bf905d183543f10098e3b3640fc029509530091502"}, + {file = "coverage-5.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:d1f9ce122f83b2305592c11d64f181b87153fc2c2bbd3bb4a3dde8303cfb1a6b"}, + {file = "coverage-5.5-cp39-cp39-manylinux1_i686.whl", hash = "sha256:13c4ee887eca0f4c5a247b75398d4114c37882658300e153113dafb1d76de529"}, + {file = "coverage-5.5-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:52596d3d0e8bdf3af43db3e9ba8dcdaac724ba7b5ca3f6358529d56f7a166f8b"}, + {file = "coverage-5.5-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:2cafbbb3af0733db200c9b5f798d18953b1a304d3f86a938367de1567f4b5bff"}, + {file = "coverage-5.5-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:44d654437b8ddd9eee7d1eaee28b7219bec228520ff809af170488fd2fed3e2b"}, + {file = "coverage-5.5-cp39-cp39-win32.whl", hash = "sha256:d314ed732c25d29775e84a960c3c60808b682c08d86602ec2c3008e1202e3bb6"}, + {file = "coverage-5.5-cp39-cp39-win_amd64.whl", hash = "sha256:13034c4409db851670bc9acd836243aeee299949bd5673e11844befcb0149f03"}, + {file = "coverage-5.5-pp36-none-any.whl", hash = "sha256:f030f8873312a16414c0d8e1a1ddff2d3235655a2174e3648b4fa66b3f2f1079"}, + {file = "coverage-5.5-pp37-none-any.whl", hash = "sha256:2a3859cb82dcbda1cfd3e6f71c27081d18aa251d20a17d87d26d4cd216fb0af4"}, + {file = "coverage-5.5.tar.gz", hash = "sha256:ebe78fe9a0e874362175b02371bdfbee64d8edc42a044253ddf4ee7d3c15212c"}, ] importlib-metadata = [ {file = "importlib_metadata-2.0.0-py2.py3-none-any.whl", hash = "sha256:cefa1a2f919b866c5beb7c9f7b0ebb4061f30a8a9bf16d609b000e2dfaceb9c3"}, {file = "importlib_metadata-2.0.0.tar.gz", hash = "sha256:77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da"}, ] iniconfig = [ - {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, ] packaging = [ @@ -304,35 +302,39 @@ six = [ {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, ] time-machine = [ - {file = "time-machine-2.0.1.tar.gz", hash = "sha256:e0e2e904ad3cdfde24b0c3de1baada9f721afc93d3aa0d259d7804114eb90c73"}, - {file = "time_machine-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:2b6679adc2452f708a46d409e7a1612ede78107e6e73f25e284a06f73d10cf27"}, - {file = "time_machine-2.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:05df6b5f4cc9b392272007da9363abf1c59abdc00988eca09787c46481b491e0"}, - {file = "time_machine-2.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ea8e91eeadf282bbb3f2312b15fe41b2bf917c901dd178b18e3d8f43a94b73a2"}, - {file = "time_machine-2.0.1-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:634167e7294d576f971c7303bd805160c90927222ff668d9db1e1d3b71286735"}, - {file = "time_machine-2.0.1-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:02cbdde507e4f210903c198eaa218e93c1343d21752826b17ecaaa7e7dc5f13b"}, - {file = "time_machine-2.0.1-cp36-cp36m-win32.whl", hash = "sha256:476b414a433cb7bbd519c369cd62b9c2af9ff0098c7518a008fb46b69da8f053"}, - {file = "time_machine-2.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:8fa1a257f66f25ac8e74b153e3bdb607f1f164556e7dd951da48c0ee5e50ba39"}, - {file = "time_machine-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e720553269275bb44b3c6a202edb2000f213019202dabbec646821bc110dc834"}, - {file = "time_machine-2.0.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:7174959e107259138436e2219f09999c1dd6068eaa8fdbea4220a295d8e681d5"}, - {file = "time_machine-2.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:9860f96b2cf5a9110a7331eb4f0323d8a3ad29a1a7118f4aefa4f006b9155c53"}, - {file = "time_machine-2.0.1-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:1f19ad8134ffb3ed5ef5f3dd8772fba26d4d0acf4b1ce18dd27a376264fcd814"}, - {file = "time_machine-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:5638331ea3421a40aec28f7faf6b3d1d629b60a8f51ce8dc5e86c8852caec9dd"}, - {file = "time_machine-2.0.1-cp37-cp37m-win32.whl", hash = "sha256:927443ce4abe27a3b61b7cb6e4e5335b36dc9dd5a8dd09de8baff737beeb9524"}, - {file = "time_machine-2.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:75ac9cd14223aefce319770b3ed674c80de0cf7619db049bd9ad3a0e33e4bb5d"}, - {file = "time_machine-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1bbde4f256b4610773ff2bcd06b0b26ae9677082351201fbb8bc0e4a7fc6ece2"}, - {file = "time_machine-2.0.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:c7bee91ce0be1cb00ff9fa5fa819567e7b4b6a497f40fe2101ad9602b0e2dc5b"}, - {file = "time_machine-2.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:6cf056ccb7c4d36e1186c8202600556ac6815433e1a538a73f0e7789d8a3e228"}, - {file = "time_machine-2.0.1-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:e3ab67de170701bfe6ca6718cc812a43347b4986c03ab53d472b1ab39af70822"}, - {file = "time_machine-2.0.1-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:4da65491be5bd663f50621c71dfc55c4d2d5806c238f3ea2d1d1244be6687333"}, - {file = "time_machine-2.0.1-cp38-cp38-win32.whl", hash = "sha256:9b45caeb63e39abb61b3a1c9a715481dfc4a3880c0a7726e5949e61d687a7aaa"}, - {file = "time_machine-2.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:8c22f915f3a7397ffca1a6ae7f5d95cb253ac039d19102f5ef7ae9a412e1d289"}, - {file = "time_machine-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c58eb6be6a65eb60b65c82bfe94991459e77df45fbf32d7d5ae8bd6fa1b59f70"}, - {file = "time_machine-2.0.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:bd8b56bccfce0d0811061a7e3059b45f1cf2253dd473fcb3c7ecda7fe2f1b1d9"}, - {file = "time_machine-2.0.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:63babafeee1da037d000dfc78630407360e830269002e4c1915b82a9e5a9f570"}, - {file = "time_machine-2.0.1-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:3b4db6163fb817840ca92b30ffad96fa4616288e711610ffb5dc565f3a5737fc"}, - {file = "time_machine-2.0.1-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:9859a50cb575502bacf9c8017381a9198c63b5be6795392923099b9a218274d5"}, - {file = "time_machine-2.0.1-cp39-cp39-win32.whl", hash = "sha256:705cce45f0174c5dda4f29334096a4c2d3336a7424cc821494b7f0e194874e9d"}, - {file = "time_machine-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:fc7dbab34571e0b4740e1fee476d85965d36d4cb0f79422291a2f9c73d8ff243"}, + {file = "time-machine-2.1.0.tar.gz", hash = "sha256:45f442ef4fd069453c46c7d94d6c92417462db9379176bb5e51885d1e5e3b62e"}, + {file = "time_machine-2.1.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:bff524f83b1e9925770dca5cd6f1cca16510e0808291f17c916d8a7368827c0f"}, + {file = "time_machine-2.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:c702df3e633ae49c40a69928e77a898e098f1d2eb9767b22fe352ef4f82e6110"}, + {file = "time_machine-2.1.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:3c580a698e9d729c32388f027361e2a765a31e3f02f3a805929b5cb1a9f05f05"}, + {file = "time_machine-2.1.0-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:b00c60a489475e9ef23db2fb0596d8f172b469d7caeb89450cefa26daf0ad4d7"}, + {file = "time_machine-2.1.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:748f418617fd2473011d49cf717a0dd178d0706ef05885f4d2f3c31bdd1fa174"}, + {file = "time_machine-2.1.0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:1c63817cd3966f60f8b48c31a2f1d4baf7609aae4390f0a033f03a0c3d2b8ce5"}, + {file = "time_machine-2.1.0-cp36-cp36m-win32.whl", hash = "sha256:9819fd93ea3a2b089a8d032c05915093320e400f368e51080a63120de841837d"}, + {file = "time_machine-2.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:677c4978e5125ba21c9ef3e90245ddfdf9978eecaa218b0f244fa8ec0b1857ef"}, + {file = "time_machine-2.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9c15fccab00dbde968e8c8d3e8324f544cec690d23f57e039d635ee38a766d23"}, + {file = "time_machine-2.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:4b55f40ce494192ee0751b9cb1ee5deab7631794a00792cd7169df06cacf48c4"}, + {file = "time_machine-2.1.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:4367b3ad68341a1cd10d61641a4c4d151e71b779b54923e3cb39ae2d49179ab6"}, + {file = "time_machine-2.1.0-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:2157f8ee62d24bb8e4cda8dab335ebef02f392eaecacd3226de942ad2fd8a73c"}, + {file = "time_machine-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:8982c7af0b02f7eb2d6fa02eddf76c9c9b73b8c0a2600326c2e38a6c466d8b5e"}, + {file = "time_machine-2.1.0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:dae3df740e1a33b8d2da37cb333ffba57d81c3881340cfc077c31b86926c62fc"}, + {file = "time_machine-2.1.0-cp37-cp37m-win32.whl", hash = "sha256:12a1e2e7460314d4e36c1604a28ee7070e270d4a34a865420f3fe9145b141454"}, + {file = "time_machine-2.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:eb88297f1b7bed2cf3df2c205ed44ec64a1a86691cbddbc65a1ae834a84e52e8"}, + {file = "time_machine-2.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cab952dffe537989343b0ee3e08793b2adc05b72cadca1ced696175a3a6bef41"}, + {file = "time_machine-2.1.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:22feba370267166ba4114b46c6a7a0a07c70c2a27e2d5f4f7a14ad99d4bedb8c"}, + {file = "time_machine-2.1.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:113f2d2177d20faab1b4f495d2bda073b5c68c3847103a6426ff0accab147395"}, + {file = "time_machine-2.1.0-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:cd9b35cf659929273532e9c0682c6ec113379e7419cd813b2199d269008397c0"}, + {file = "time_machine-2.1.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:df4bba083eff916f8fc8e9f8f175f30c5f70806ed87fbf5c070a55423b87b781"}, + {file = "time_machine-2.1.0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2b55e8442f08b8a0899a3c940cf5c2f1844c582476df0acc903079fc790124c0"}, + {file = "time_machine-2.1.0-cp38-cp38-win32.whl", hash = "sha256:d0d548149c60d478bea7717f2af1961ee9949fef15aad15fe23a573af4855d6e"}, + {file = "time_machine-2.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:129d875f8ec1e081c70933d92446ba3ae2d17b23088c96b6fa5aeb174db5f245"}, + {file = "time_machine-2.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e3c4cbb3f3927cd40279b8394fdd01eea72eb70fb5ff26dde87a22f937a77f27"}, + {file = "time_machine-2.1.0-cp39-cp39-manylinux1_i686.whl", hash = "sha256:e2a3e141ab2cbd6a468c1456c394049dd586f0e84c642a71bf770e23e9df412f"}, + {file = "time_machine-2.1.0-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:9f9ab9e4f96dea358e7d4368427ff4e3e9f1ed1d740f792e7f4197f969d347b1"}, + {file = "time_machine-2.1.0-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:fc28c3fa6f555bb2867b70ed8d87669252af6e31e25d77d52a4e131d979e046a"}, + {file = "time_machine-2.1.0-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:f4fb6870d4a694e3eaba5201620e0ac5c1e260dec8c564375f5782aa0d889208"}, + {file = "time_machine-2.1.0-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:3c2b278f858c63239dd3d6fc69cae5a814c31d48852bb66b36def19acf0aacb9"}, + {file = "time_machine-2.1.0-cp39-cp39-win32.whl", hash = "sha256:2c42dd1d5013c78651254953efb2d55efb564ccd54dbc8dfb50645b243e22234"}, + {file = "time_machine-2.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:8ab17dc63eada65f8452284549e9133d78d58183f8c2e2a680d61bb4de9fc1e2"}, ] toml = [ {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, diff --git a/pyproject.toml b/pyproject.toml index 554c29e..a9d4eb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,10 +47,10 @@ attrs = "^20.2.0" toml = "^0.10.1" [tool.poetry.dev-dependencies] -coverage = {extras = ["toml"], version = "^5.4"} +coverage = "^5.5" pytest = "^6.2.2" pytest-cov = "^2.11.1" -time-machine = "^2.0.1" +time-machine = "^2.1.0" [tool.poetry.scripts] badabump = "badabump.cli.app:main" diff --git a/tests/test_git.py b/tests/test_git.py index 619d540..be13f83 100644 --- a/tests/test_git.py +++ b/tests/test_git.py @@ -25,8 +25,8 @@ def test_empty_repository(create_git_repository): with pytest.raises(subprocess.CalledProcessError): git.retrieve_last_tag() - git.retrieve_tag_subject("v1.0.0") == "" - git.retrieve_tag_body("v1.0.0") == "" + assert git.retrieve_tag_subject("v1.0.0") == "" + assert git.retrieve_tag_body("v1.0.0") == "" def test_list_commits(create_git_repository):