Python

Python

Made by DeepSource
Docstring is over-indented FLK-D208
Documentation
Minor

It is recommended to properly indent docstrings for readability.

Audit required: Insecure cipher BAN-W1004
Security
Major

Cipher used is not secure. It is recommended to replace with a known secure cipher such as AES.

Use of a non-existent operator detected PYL-E0107
Bug risk
Major

Detected the use of one of the C-style pre/post increment or decrement operators, -- and ++, which don't exist in Python. Use the += or -= operators instead.

Audit required: Insecure hash function BAN-W1003
Security
Major

D2, MD4, MD5, SHA1 signature algorithms are known to be vulnerable to collision attacks. Attackers can exploit this to generate another certificate with the same digital signature, allowing them to masquerade as the affected service.

Tab after comma detected FLK-E242
Style
Minor

There should be only one space after the , character.

Continuation line over-indented for hanging indent FLK-E126
Style
Minor

A continuation line is indented farther than it should be for a hanging indent.

Indentation is not a multiple of four in comments FLK-E114
Style
Minor

Comment indentation should be a multiple of four.

Debugger import detected PTC-W0013
Bug risk
Major
Autofix

Debuggers should only be used temporarily and locally. It is highly recommended to remove debug statements in checked-in code.

Visually indented line with same indent as next logical line FLK-E129
Style
Minor

A visual indented line has the same indentation as the next logical line. This can make it hard to read.

Trying to declare type of a type variable TYP-034
Type check
Major

The type of a Type variable can not be declared. It is recommended to remove it.

Unnecessary pass statement PYL-W0107
Style
Minor
Autofix

The pass statement used here is not necessary. You can safely remove this.

Docstring should be indented with spaces, not tabs FLK-D206
Documentation
Minor

It is recommended to use spaces in the docstrings, just as the code.

No newline at end of file FLK-W292
Style
Minor
Autofix

It is recommended to put a newline at the end of the file.

Invalid metaclass PYL-E1139
Bug risk
Major

The class is using, as a metaclass, something which might be invalid for using as a metaclass.

Unexpected indentation in comments FLK-E116
Style
Minor

Comments should be indented relative to the code in the block they are in.

Type hint for with statement is unreliable TYP-036
Type check
Major

Type hint is unreliable for the with statement. Please check the issue occurrence message for details.

Invalid type for __all__ TYP-056
Type check
Major

Type of __all__ must be sequence string. See the issue message for more details

Uexpected type hint TYP-040
Type check
Major

A type hint is expected within[...]. It is recommended to abide by this convention.