Skip to content

Commit

Permalink
💥 Only python3 pre-commit hook
Browse files Browse the repository at this point in the history
- Remove python2 from setup.py
  • Loading branch information
KevinHock committed Mar 30, 2020
1 parent 3e39b76 commit 00b9bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@asottile

asottile Apr 1, 2020

Contributor

this is not a thing, please fix this and send a PR reverting this: pre-commit/pre-commit.com@81fa5ad

This comment has been minimized.

Copy link
@KevinHock

KevinHock Apr 1, 2020

Author Collaborator

Whoops, thanks!

# for backward compatibility
files: .*
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
long_description=(
'Check out detect-secrets on `GitHub <https://github.com/Yelp/detect-secrets>`_!'
),
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',
Expand All @@ -23,12 +23,6 @@
'requests',
],
extras_require={
':python_version=="2.7"': [
'configparser',
'enum34',
'future',
'functools32',
],
'word_list': [
'pyahocorasick',
],
Expand All @@ -40,7 +34,6 @@
],
},
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 00b9bf8

Please sign in to comment.