DeepSource
Dashboard Resources Pricing Discover Directory Log in

Run your first analysis.

Find thousands of code security and quality issues in your codebase, before they end up in production.

Start now
All analyzers Python
Python

Python

By DeepSource

Use Analyzer
Docs
Discuss
Docstring is over-indented FLK-D208
Documentation

It is recommended to properly indent docstrings for readability.

Audit required: Use of md5 BAN-B303
Security

Use of insecure MD2, MD4, MD5, or SHA1 hash functions should be avoided. Using more secure algorithms like SHA256 or SHA512.

Audit required: Use of insecure cipher BAN-B304
Security

Use of insecure cipher or cipher mode. Replace with a known secure cipher such as AES.

Audit required: Use of insecure cipher mode BAN-B305
Security

Use of insecure cipher or cipher mode. Replace with a known secure cipher such as AES.

Nullable ManyToManyField found PTC-W0905
Bug risk
Autofix

Having a nullable many-to-many field doesn't do anything. The declaration of a ManyToManyField causes the creation of an intermediate table to hold the relationship. Each relation between the two tables is an entry in this new table. By definition, having no relations between two tables would mean no entries in this table. There's no use of null. Consider removing null=True from this property.