Skip to content

Commit

Permalink
Add DisallowForeignKey, RequireForeignKey to "full" preset
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jan 15, 2019
1 parent de8b31d commit 9221174
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions squabble/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@

'full': {
'description': ('Every rule that ships with squabble. The output will '
'be noisy, but it\'s probably a good starting point '
'to figure out which rules are useful.'),
'be noisy (and nonsensical), but it\'s probably a good '
'starting point to figure out which rules are useful.'),
'config': {
'rules': {
'AddColumnDisallowConstraints': {
Expand All @@ -70,7 +70,10 @@
'DisallowRenameEnumValue': {},
'DisallowChangeColumnType': {},
'DisallowFloatTypes': {},
'RequirePrimaryKey': {}
'RequirePrimaryKey': {},
# Yes, these are incompatible.
'DisallowForeignKey': {},
'RequireForeignKey': {},
}
}
}
Expand Down

0 comments on commit 9221174

Please sign in to comment.