From 00b9bf8dd035fd8046bb41be1efc907c13646fd5 Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Fri, 27 Mar 2020 17:22:09 -0700 Subject: [PATCH] :boom: Only python3 pre-commit hook - Remove python2 from setup.py --- .pre-commit-hooks.yaml | 2 +- setup.py | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f3cc03936..2ec05ad53 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -3,6 +3,6 @@ description: Detects high entropy strings that are likely to be passwords. entry: detect-secrets-hook args: ['--base64-limit', '4.5', '--hex-limit', '3'] - language: python + language: python3 # for backward compatibility files: .* diff --git a/setup.py b/setup.py index 1fd9e5541..8d526b213 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ long_description=( 'Check out detect-secrets on `GitHub `_!' ), - license='Copyright Yelp, Inc. 2018', + license='Copyright Yelp, Inc. 2020', author='Aaron Loo', author_email='aaronloo@yelp.com', url='https://github.com/Yelp/detect-secrets', @@ -23,12 +23,6 @@ 'requests', ], extras_require={ - ':python_version=="2.7"': [ - 'configparser', - 'enum34', - 'future', - 'functools32', - ], 'word_list': [ 'pyahocorasick', ], @@ -40,7 +34,6 @@ ], }, classifiers=[ - 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers',