@@ -54,9 +54,8 @@
Loading
54 54
        if self._sha1 is None:
55 55
            if self.password is not None:  # type: ignore
56 56
                self._sha1 = (
57 -
                    hashlib.sha1(self.password.encode(
58 -
                        "utf-8")).hexdigest().upper()  # type: ignore
59 -
                )
57 +
                    hashlib.sha1(self.password.encode(  # type: ignore
58 +
                        "utf-8")).hexdigest().upper())
60 59
        return self._sha1
61 60
62 61
    def __eq__(self, other):

@@ -38,15 +38,15 @@
Loading
38 38
39 39
        if keepassxc_cli_location is None:
40 40
            # search for keepassxc-cli which default name on $PATH
41 -
            keepassxc_cli_location = shutil.which(
41 +
            keepassxc_location_output = shutil.which(
42 42
                self.__class__.KEEPASSXC_CLI_NAME)
43 -
            if keepassxc_cli_location is None:
43 +
            if keepassxc_location_output is None:
44 44
                logger.critical(
45 45
                    "Could not find a binary called {} on your $PATH.".format(
46 46
                        self.__class__.KEEPASSXC_CLI_NAME))
47 47
                sys.exit(1)
48 48
            self.keepassxc_cli_location: pathlib.Path = pathlib.Path(
49 -
                keepassxc_cli_location)
49 +
                keepassxc_location_output)
50 50
        else:
51 51
            self.keepassxc_cli_location = keepassxc_cli_location
52 52
        logger.debug("keepassxc-cli location: {}".format(

@@ -31,10 +31,9 @@
Loading
31 31
              default=False,
32 32
              is_flag=True,
33 33
              help="Don't print status messages, just the summary")
34 -
@click.option(
35 -
    "--keepassxc-cli",
36 -
    type=click.Path(exists=True),
37 -
    help="Specify a different location/name for the keepassxc-cli binary")
34 +
@click.option("--keepassxc-cli",
35 +
              type=click.Path(exists=True),
36 +
              help="Specify a different location for the keepassxc-cli binary")
38 37
@click.argument("database", required=True, type=click.Path(exists=True))
39 38
def main(plaintext, key_file, verbose, quiet, database, keepassxc_cli):
40 39
    """Check a keepassxc database against previously cracked haveibeenpwned passwords"""
Files Coverage
keepassxc_pwned 97.04%
Project Totals (10 files) 97.04%
87.3
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
137.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
86.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
86.3
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
86.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
87.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
137.3
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
87.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
138.1
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
138.3
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
137.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading