Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
new linter: do not use AutoField #737
We do have lots of models which include
There is no point in having these fields defined in models because Django will add them automatically. See example at https://stackoverflow.com/questions/25205228/django-autofield-with-primary-key-vs-default-pk
We need a checker class for kiwi_lint that will discover all of these AutoFields and help us get rid of them!