Skip to content

Commit

Permalink
Merge 2624427 into b545c2d
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 committed Nov 7, 2021
2 parents b545c2d + 2624427 commit 42c4c49
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==20.1.4
- flake8-bugbear==21.9.2
- repo: https://github.com/PyCQA/isort.git
rev: 5.9.3
hooks:
Expand Down
13 changes: 10 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
CHANGELOG
=========

unreleased
----------
- nothing yet
0.6.0 (07.11.2021)
------------------

added
~~~~~
- add support for Python 3.10

changed
~~~~~~~
- loosen restriction on pykeepass (@denvera)

0.5.1 (07.02.2021)
------------------
Expand Down
3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
.. image:: https://img.shields.io/pypi/pyversions/hibpcli.svg
:target: https://pypi.org/project/hibpcli/

.. image:: https://requires.io/github/jugmac00/hibpcli/requirements.svg?branch=master
:target: https://requires.io/github/jugmac00/hibpcli/requirements/?branch=master

.. image:: https://img.shields.io/pypi/l/hibpcli
:target: https://github.com/jugmac00/hibpcli/blob/master/LICENSE

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def read(*parts):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Environment :: Console",
],
Expand Down
4 changes: 2 additions & 2 deletions tests/test_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def test_password_signature():
leaksstore = LeaksStore()
with pytest.raises(TypeError):
None in leaksstore # type: ignore
None in leaksstore # type: ignore # noqa: B015


@patch("hibpcli.leaks.httpx.get")
Expand All @@ -36,4 +36,4 @@ def test_is_leaked_raises_api_error(mock_get):
mock_get.side_effect = socket.gaierror
leaksstore = LeaksStore()
with pytest.raises(ApiError):
"test" in leaksstore
"test" in leaksstore # noqa: B015
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
envlist =
py310
py39
py38
py37
py36
coverage
pre-commit
lint
mypy

[testenv]
Expand All @@ -20,7 +21,7 @@ commands =
coverage run -m pytest tests
coverage report -m --fail-under=100

[testenv:pre-commit]
[testenv:lint]
skip_install = true
deps =
pre-commit
Expand All @@ -46,6 +47,7 @@ python =
3.7: py37
3.8: py38
3.9: py39, pre-commit, mypy, coverage
3.10: py310

[coverage:run]
omit = */site-packages/*

0 comments on commit 42c4c49

Please sign in to comment.