如何防止 Python 中的 AutoPep8 格式化程序格式化我的自定义缩进?
由此:
class Product(models.Model):
title = models.CharField()
description = models.TextField()
price = models.DecimalField()
featured = models.BooleanField()
对此:
class Product(models.Model):
title = models.CharField()
description = models.TextField()
price = models.DecimalField()
featured = models.BooleanField()