Skip to content

Commit

Permalink
🐍 Inline leading . in constants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHock committed Sep 24, 2019
1 parent 69a3aac commit 19d22da
Showing 1 changed file with 28 additions and 31 deletions.
59 changes: 28 additions & 31 deletions detect_secrets/core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,34 @@
# Definitely something to look into, if this list gets unruly long.
IGNORED_FILE_EXTENSIONS = set(
(
'.' + extension
for extension in (
'7z',
'bmp',
'bz2',
'dmg',
'eot',
'exe',
'gif',
'gz',
'ico',
'jar',
'jpg',
'jpeg',
'mo',
'png',
'rar',
'realm',
's7z',
'svg',
'tar',
'tif',
'tiff',
'ttf',
'webp',
'woff',
'xls',
'xlsx',
'zip',
)
)
'.7z',
'.bmp',
'.bz2',
'.dmg',
'.eot',
'.exe',
'.gif',
'.gz',
'.ico',
'.jar',
'.jpg',
'.jpeg',
'.mo',
'.png',
'.rar',
'.realm',
'.s7z',
'.svg',
'.tar',
'.tif',
'.tiff',
'.ttf',
'.webp',
'.woff',
'.xls',
'.xlsx',
'.zip',
),
)


Expand Down

0 comments on commit 19d22da

Please sign in to comment.