tlsfuzzer/tlslite-ng

View on GitHub
tlslite/constants.py

Summary

Maintainability
F
6 days
Test Coverage
A
96%

File constants.py has 1353 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Authors:
#   Trevor Perrin
#   Google - defining ClientCertificateType
#   Google (adapted by Sam Rushing) - NPN support
#   Dimitris Moraitis - Anon ciphersuites
Severity: Major
Found in tlslite/constants.py - About 3 days to fix

    Cyclomatic complexity is too high in method _filterSuites. (45)
    Open

        @staticmethod
        def _filterSuites(suites, settings, version=None):
            if version is None:
                version = settings.maxVersion
            macNames = settings.macNames
    Severity: Minor
    Found in tlslite/constants.py by radon

    Cyclomatic Complexity

    Cyclomatic Complexity corresponds to the number of decisions a block of code contains plus 1. This number (also called McCabe number) is equal to the number of linearly independent paths through the code. This number can be used as a guide when testing conditional logic in blocks.

    Radon analyzes the AST tree of a Python program to compute Cyclomatic Complexity. Statements have the following effects on Cyclomatic Complexity:

    Construct Effect on CC Reasoning
    if +1 An if statement is a single decision.
    elif +1 The elif statement adds another decision.
    else +0 The else statement does not cause a new decision. The decision is at the if.
    for +1 There is a decision at the start of the loop.
    while +1 There is a decision at the while statement.
    except +1 Each except branch adds a new conditional path of execution.
    finally +0 The finally block is unconditionally executed.
    with +1 The with statement roughly corresponds to a try/except block (see PEP 343 for details).
    assert +1 The assert statement internally roughly equals a conditional statement.
    Comprehension +1 A list/set/dict comprehension of generator expression is equivalent to a for loop.
    Boolean Operator +1 Every boolean operator (and, or) adds a decision point.

    Source: http://radon.readthedocs.org/en/latest/intro.html

    Function _filterSuites has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring.
    Open

        def _filterSuites(suites, settings, version=None):
            if version is None:
                version = settings.maxVersion
            macNames = settings.macNames
            cipherNames = settings.cipherNames
    Severity: Minor
    Found in tlslite/constants.py - About 4 hrs to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Cyclomatic complexity is too high in method canonicalCipherName. (14)
    Open

        @staticmethod
        def canonicalCipherName(ciphersuite):
            """Return the canonical name of the cipher whose number is provided."""
            if ciphersuite in CipherSuite.aes128GcmSuites:
                return "aes128gcm"
    Severity: Minor
    Found in tlslite/constants.py by radon

    Cyclomatic Complexity

    Cyclomatic Complexity corresponds to the number of decisions a block of code contains plus 1. This number (also called McCabe number) is equal to the number of linearly independent paths through the code. This number can be used as a guide when testing conditional logic in blocks.

    Radon analyzes the AST tree of a Python program to compute Cyclomatic Complexity. Statements have the following effects on Cyclomatic Complexity:

    Construct Effect on CC Reasoning
    if +1 An if statement is a single decision.
    elif +1 The elif statement adds another decision.
    else +0 The else statement does not cause a new decision. The decision is at the if.
    for +1 There is a decision at the start of the loop.
    while +1 There is a decision at the while statement.
    except +1 Each except branch adds a new conditional path of execution.
    finally +0 The finally block is unconditionally executed.
    with +1 The with statement roughly corresponds to a try/except block (see PEP 343 for details).
    assert +1 The assert statement internally roughly equals a conditional statement.
    Comprehension +1 A list/set/dict comprehension of generator expression is equivalent to a for loop.
    Boolean Operator +1 Every boolean operator (and, or) adds a decision point.

    Source: http://radon.readthedocs.org/en/latest/intro.html

    Function canonicalCipherName has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
    Open

        def canonicalCipherName(ciphersuite):
            """Return the canonical name of the cipher whose number is provided."""
            if ciphersuite in CipherSuite.aes128GcmSuites:
                return "aes128gcm"
            elif ciphersuite in CipherSuite.aes256GcmSuites:
    Severity: Minor
    Found in tlslite/constants.py - About 1 hr to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function _filterSuites has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def _filterSuites(suites, settings, version=None):
            if version is None:
                version = settings.maxVersion
            macNames = settings.macNames
            cipherNames = settings.cipherNames
    Severity: Minor
    Found in tlslite/constants.py - About 1 hr to fix

      Function filter_for_certificate has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
      Open

          def filter_for_certificate(suites, cert_chain):
              """Return a copy of suites without ciphers incompatible with the cert.
              """
              includeSuites = set([])
              includeSuites.update(CipherSuite.tls13Suites)
      Severity: Minor
      Found in tlslite/constants.py - About 1 hr to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Avoid too many return statements within this function.
      Open

                  return "aes256ccm"
      Severity: Major
      Found in tlslite/constants.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return "aes256"
        Severity: Major
        Found in tlslite/constants.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return "chacha20-poly1305_draft00"
          Severity: Major
          Found in tlslite/constants.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return None
            Severity: Major
            Found in tlslite/constants.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return "null"
              Severity: Major
              Found in tlslite/constants.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return None
                Severity: Major
                Found in tlslite/constants.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return "chacha20-poly1305"
                  Severity: Major
                  Found in tlslite/constants.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return "3des"
                    Severity: Major
                    Found in tlslite/constants.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return "aes256ccm_8"
                      Severity: Major
                      Found in tlslite/constants.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return "aes128"
                        Severity: Major
                        Found in tlslite/constants.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return "rc4"
                          Severity: Major
                          Found in tlslite/constants.py - About 30 mins to fix

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                                    elif ciphersuite in CipherSuite.rc4Suites:
                                        return "rc4"
                                    elif ciphersuite in CipherSuite.tripleDESSuites:
                                        return "3des"
                                    elif ciphersuite in CipherSuite.nullSuites:
                            Severity: Major
                            Found in tlslite/constants.py and 1 other location - About 3 hrs to fix
                            tlslite/constants.py on lines 1635..1644

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 67.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                                    if ciphersuite in CipherSuite.sha384Suites:
                                        return "sha384"
                                    elif ciphersuite in CipherSuite.sha256Suites:
                                        return "sha256"
                                    elif ciphersuite in CipherSuite.shaSuites:
                            Severity: Major
                            Found in tlslite/constants.py and 1 other location - About 3 hrs to fix
                            tlslite/constants.py on lines 1619..1630

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 67.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                                @classmethod
                                def toRepr(cls, value, blacklist=None):
                                    """Convert numeric type to name representation"""
                                    if blacklist is None:
                                        blacklist = []
                            Severity: Major
                            Found in tlslite/constants.py and 1 other location - About 2 hrs to fix
                            tlslite/constants.py on lines 476..482

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 54.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                                @classmethod
                                def toRepr(cls, value, blacklist=None):
                                    """Convert numeric type to name representation."""
                                    if blacklist is None:
                                        blacklist = []
                            Severity: Major
                            Found in tlslite/constants.py and 1 other location - About 2 hrs to fix
                            tlslite/constants.py on lines 147..153

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 54.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 2 locations. Consider refactoring.
                            Open

                            class SignatureAlgorithm(TLSEnum):
                                """Signing algorithms used in TLSv1.2"""
                            
                                anonymous = 0
                                rsa = 1
                            Severity: Minor
                            Found in tlslite/constants.py and 1 other location - About 40 mins to fix
                            tlslite/ocsp.py on lines 9..16

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 37.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            The backslash is redundant between brackets
                            Open

                                                               '__module__') and \
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.dsa_sha224
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Inline comment should start with '# '
                            Open

                                no_certificate = 41 #SSLv3
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            At least two spaces before inline comment
                            Open

                                session_ticket = 35 # RFC 5077
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pkcs1_sha224
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            At least two spaces before inline comment
                            Open

                                no_certificate = 41 #SSLv3
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Multiple spaces before operator
                            Open

                                TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA  = 0xC01A
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid extraneous whitespace around an operator.

                            Okay: a = 12 + 3
                            E221: a = 4  + 5
                            E222: a = 4 +  5
                            E223: a = 4\t+ 5
                            E224: a = 4 +\t5

                            Missing whitespace after ','
                            Open

                                clientSrpFaults = list(range(101,104))
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Each comma, semicolon or colon should be followed by whitespace.

                            Okay: [a, b]
                            Okay: (3,)
                            Okay: a[1:4]
                            Okay: a[:4]
                            Okay: a[1:]
                            Okay: a[1:4:2]
                            E231: ['a','b']
                            E231: foo(bar,baz)
                            E231: [{'a':'b'}]

                            The backslash is redundant between brackets
                            Open

                                    shortPremasterSecret: "short premaster secret",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badVerifyMessage: "bad verify message",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ecdsa_secp256r1_sha256
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            The backslash is redundant between brackets
                            Open

                                faultAlerts = {\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badPremasterPadding: "bad premaster padding",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha384
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            The backslash is redundant between brackets
                            Open

                                    badA: "bad A",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ecdsa_secp521r1_sha512
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pkcs1_sha256
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.dsa_sha256
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            At least two spaces before inline comment
                            Open

                                aes128GcmSuites.append(TLS_DHE_DSS_WITH_AES_128_GCM_SHA256) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Missing whitespace after ','
                            Open

                                serverFaults = list(range(201,202))
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Each comma, semicolon or colon should be followed by whitespace.

                            Okay: [a, b]
                            Okay: (3,)
                            Okay: a[1:4]
                            Okay: a[:4]
                            Okay: a[1:]
                            Okay: a[1:4:2]
                            E231: ['a','b']
                            E231: foo(bar,baz)
                            E231: [{'a':'b'}]

                            The backslash is redundant between brackets
                            Open

                                faultNames = {\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badUsername: "bad username",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                                   key not in blacklist and \
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            The backslash is redundant between brackets
                            Open

                                    badMAC: "bad MAC",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha256
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ed448
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Too many blank lines (2)
                            Open

                                # Weird pseudo-ciphersuite from RFC 5746
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate top-level function and class definitions with two blank lines.

                            Method definitions inside a class are separated by a single blank
                            line.
                            
                            Extra blank lines may be used (sparingly) to separate groups of
                            related functions.  Blank lines may be omitted between a bunch of
                            related one-liners (e.g. a set of dummy implementations).
                            
                            Use blank lines in functions, sparingly, to indicate logical
                            sections.
                            
                            Okay: def a():\n    pass\n\n\ndef b():\n    pass
                            Okay: def a():\n    pass\n\n\nasync def b():\n    pass
                            Okay: def a():\n    pass\n\n\n# Foo\n# Bar\n\ndef b():\n    pass
                            Okay: default = 1\nfoo = 1
                            Okay: classify = 1\nfoo = 1
                            
                            E301: class Foo:\n    b = 0\n    def bar():\n        pass
                            E302: def a():\n    pass\n\ndef b(n):\n    pass
                            E302: def a():\n    pass\n\nasync def b(n):\n    pass
                            E303: def a():\n    pass\n\n\n\ndef b(n):\n    pass
                            E303: def a():\n\n\n\n    pass
                            E304: @decorator\n\ndef a():\n    pass
                            E305: def a():\n    pass\na()
                            E306: def a():\n    def b():\n        pass\n    def c():\n        pass

                            The backslash is redundant between brackets
                            Open

                                    return next((key for key, val in fields.items() \
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pkcs1_sha1
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        (HashAlgorithm.md5, SignatureAlgorithm.rsa)
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.dsa_sha512
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.dsa_sha1
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Block comment should start with '# '
                            Open

                            #pylint: disable = invalid-name
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            At least two spaces before inline comment
                            Open

                                sha384Suites.append(TLS_DH_DSS_WITH_AES_256_GCM_SHA384) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Line too long (80 > 79 characters)
                            Open

                                    return cls._filterSuites(CipherSuite.ecdheCertSuites, settings, version)
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Limit all lines to a maximum of 79 characters.

                            There are still many devices around that are limited to 80 character
                            lines; plus, limiting windows to 80 characters makes it possible to
                            have several windows side-by-side.  The default wrapping on such
                            devices looks ugly.  Therefore, please limit all lines to a maximum
                            of 79 characters. For flowing long blocks of text (docstrings or
                            comments), limiting the length to 72 characters is recommended.
                            
                            Reports error E501.

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ecdsa_sha1
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ecdsa_secp384r1_sha384
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pkcs1_sha384
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ed25519
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Line too long (80 > 79 characters)
                            Open

                                certAllSuites = srpCertSuites + certSuites + dheCertSuites + ecdheCertSuites
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Limit all lines to a maximum of 79 characters.

                            There are still many devices around that are limited to 80 character
                            lines; plus, limiting windows to 80 characters makes it possible to
                            have several windows side-by-side.  The default wrapping on such
                            devices looks ugly.  Therefore, please limit all lines to a maximum
                            of 79 characters. For flowing long blocks of text (docstrings or
                            comments), limiting the length to 72 characters is recommended.
                            
                            Reports error E501.

                            The backslash is redundant between brackets
                            Open

                                    badFinished: (AlertDescription.decrypt_error,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badFinished: "bad finished message",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha512
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Too many blank lines (2)
                            Open

                                #: AES-128 CBC ciphers
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate top-level function and class definitions with two blank lines.

                            Method definitions inside a class are separated by a single blank
                            line.
                            
                            Extra blank lines may be used (sparingly) to separate groups of
                            related functions.  Blank lines may be omitted between a bunch of
                            related one-liners (e.g. a set of dummy implementations).
                            
                            Use blank lines in functions, sparingly, to indicate logical
                            sections.
                            
                            Okay: def a():\n    pass\n\n\ndef b():\n    pass
                            Okay: def a():\n    pass\n\n\nasync def b():\n    pass
                            Okay: def a():\n    pass\n\n\n# Foo\n# Bar\n\ndef b():\n    pass
                            Okay: default = 1\nfoo = 1
                            Okay: classify = 1\nfoo = 1
                            
                            E301: class Foo:\n    b = 0\n    def bar():\n        pass
                            E302: def a():\n    pass\n\ndef b(n):\n    pass
                            E302: def a():\n    pass\n\nasync def b(n):\n    pass
                            E303: def a():\n    pass\n\n\n\ndef b(n):\n    pass
                            E303: def a():\n\n\n\n    pass
                            E304: @decorator\n\ndef a():\n    pass
                            E305: def a():\n    pass\na()
                            E306: def a():\n    def b():\n        pass\n    def c():\n        pass

                            At least two spaces before inline comment
                            Open

                                aes128Suites.append(TLS_DH_DSS_WITH_AES_128_CBC_SHA256) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            At least two spaces before inline comment
                            Open

                                aes256GcmSuites.append(TLS_DHE_DSS_WITH_AES_256_GCM_SHA384) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Missing whitespace after ','
                            Open

                                genericFaults = list(range(300,303))
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Each comma, semicolon or colon should be followed by whitespace.

                            Okay: [a, b]
                            Okay: (3,)
                            Okay: a[1:4]
                            Okay: a[:4]
                            Okay: a[1:]
                            Okay: a[1:4:2]
                            E231: ['a','b']
                            E231: foo(bar,baz)
                            E231: [{'a':'b'}]

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha512
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            At least two spaces before inline comment
                            Open

                                srpDsaSuites.append(TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Missing whitespace after ','
                            Open

                                clientCertFaults = list(range(601,602))
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Each comma, semicolon or colon should be followed by whitespace.

                            Okay: [a, b]
                            Okay: (3,)
                            Okay: a[1:4]
                            Okay: a[:4]
                            Okay: a[1:]
                            Okay: a[1:4:2]
                            E231: ['a','b']
                            E231: foo(bar,baz)
                            E231: [{'a':'b'}]

                            The backslash is redundant between brackets
                            Open

                                    badUsername: (AlertDescription.unknown_psk_identity, \
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                                    val == value), None)
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pkcs1_sha512
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha256
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            At least two spaces before inline comment
                            Open

                                shaSuites.append(TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            Missing whitespace after ','
                            Open

                                clientNoAuthFaults = list(range(501,503))
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Each comma, semicolon or colon should be followed by whitespace.

                            Okay: [a, b]
                            Okay: (3,)
                            Okay: a[1:4]
                            Okay: a[:4]
                            Okay: a[1:]
                            Okay: a[1:4:2]
                            E231: ['a','b']
                            E231: foo(bar,baz)
                            E231: [{'a':'b'}]

                            The backslash is redundant between brackets
                            Open

                                    badPremasterPadding: (AlertDescription.bad_record_mac,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.rsa_pss_rsae_sha384
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.dsa_sha384
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            At least two spaces before inline comment
                            Open

                                aes256Suites.append(TLS_DH_DSS_WITH_AES_256_CBC_SHA256) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            At least two spaces before inline comment
                            Open

                                shaSuites.append(TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA) # unsupported
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            The backslash is redundant between brackets
                            Open

                                    badA: (AlertDescription.illegal_parameter,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badVerifyMessage: (AlertDescription.decrypt_error,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badMAC: (AlertDescription.bad_record_mac,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badPassword: "bad password",\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            Continuation line over-indented for visual indent
                            Open

                                        SignatureScheme.ecdsa_sha224
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Continuation lines indentation.

                            Continuation lines should align wrapped elements either vertically
                            using Python's implicit line joining inside parentheses, brackets
                            and braces, or using a hanging indent.
                            
                            When using a hanging indent these considerations should be applied:
                            - there should be no arguments on the first line, and
                            - further indentation should be used to clearly distinguish itself
                              as a continuation line.
                            
                            Okay: a = (\n)
                            E123: a = (\n    )
                            
                            Okay: a = (\n    42)
                            E121: a = (\n   42)
                            E122: a = (\n42)
                            E123: a = (\n    42\n    )
                            E124: a = (24,\n     42\n)
                            E125: if (\n    b):\n    pass
                            E126: a = (\n        42)
                            E127: a = (24,\n      42)
                            E128: a = (24,\n    42)
                            E129: if (a or\n    b):\n    pass
                            E131: a = (\n    42\n 24)

                            Block comment should start with '# '
                            Open

                            #pylint: enable = invalid-name
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Separate inline comments by at least two spaces.

                            An inline comment is a comment on the same line as a statement.
                            Inline comments should be separated by at least two spaces from the
                            statement. They should start with a # and a single space.
                            
                            Each line of a block comment starts with a # and a single space
                            (unless it is indented text inside the comment).
                            
                            Okay: x = x + 1  # Increment x
                            Okay: x = x + 1    # Increment x
                            Okay: # Block comment
                            E261: x = x + 1 # Increment x
                            E262: x = x + 1  #Increment x
                            E262: x = x + 1  #  Increment x
                            E265: #Block comment
                            E266: ### Block comment

                            The backslash is redundant between brackets
                            Open

                                                  AlertDescription.bad_record_mac),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                                   key not in blacklist and \
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    badPassword: (AlertDescription.bad_record_mac,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            The backslash is redundant between brackets
                            Open

                                    shortPremasterSecret: (AlertDescription.bad_record_mac,),\
                            Severity: Minor
                            Found in tlslite/constants.py by pep8

                            Avoid explicit line join between brackets.

                            The preferred way of wrapping long lines is by using Python's
                            implied line continuation inside parentheses, brackets and braces.
                            Long lines can be broken over multiple lines by wrapping expressions
                            in parentheses.  These should be used in preference to using a
                            backslash for line continuation.
                            
                            E502: aaa = [123, \\n       123]
                            E502: aaa = ("bbb " \\n       "ccc")
                            
                            Okay: aaa = [123,\n       123]
                            Okay: aaa = ("bbb "\n       "ccc")
                            Okay: aaa = "bbb " \\n    "ccc"
                            Okay: aaa = 123  # \\

                            There are no issues that match your filters.

                            Category
                            Status