Add rule: truthy, to forbid truthy values that are not quoted

This commit is contained in:
Peter Ericson
2016-09-28 21:56:45 +10:00
committed by Adrien Vergé
parent c163135ee5
commit 1f472bc144
7 changed files with 105 additions and 2 deletions

View File

@@ -119,6 +119,8 @@ conf_overrides = {
'example-8.22': ('indentation: disable\n'),
'example-10.1': ('colons: {max-spaces-before: 2}\n'),
'example-10.2': ('indentation: {indent-sequences: no}\n'),
'example-10.8': ('truthy: disable\n'),
'example-10.9': ('truthy: disable\n'),
}
files = os.listdir(os.path.join(os.path.dirname(os.path.realpath(__file__)),