Skip to content

Commit

Permalink
Trying to shut lgtm and linters up
Browse files Browse the repository at this point in the history
  • Loading branch information
plasticuproject committed Feb 3, 2022
1 parent cbfe172 commit cbe6af6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hibpwned/__init__.py
Expand Up @@ -446,7 +446,7 @@ def search_password(self, password: str) -> Union[int, str]:
"""
url = "https://api.pwnedpasswords.com/range/"
hash_object = hashlib.sha1( # lgtm[py/weak-sensitive-data-hashing]
bytes(
bytes( # lgtm[py/weak-sensitive-data-hashing]
password, # lgtm[py/weak-sensitive-data-hashing]
encoding="utf-8")) # lgtm[py/weak-sensitive-data-hashing]
hexdig = hash_object.hexdigest()
Expand Down
6 changes: 3 additions & 3 deletions setup.py
@@ -1,16 +1,16 @@
"""Setup file"""
from setuptools import setup # type: ignore

VERSION = "1.3.3"
VERSION = "1.3.4"

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
LONG_DESCRIPTION = fh.read()

setup(name="hibpwned",
packages=["hibpwned"],
version=VERSION,
description="A human friendly Python API wrapper for haveibeenpwned.com",
long_description=long_description,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="plasticuproject",
author_email="plasticuproject@pm.me",
Expand Down

0 comments on commit cbe6af6

Please sign in to comment.