Skip to content

Commit 014770d

Browse files
authored
Merge pull request #724 from Yelp/lorenzodb1-maintenance-changes
Dropped support for Python 3.7, added support for Python 3.10, upgraded dependencies and updated project info
2 parents 950a7ca + b8e6344 commit 014770d

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macos-latest, windows-latest]
20-
python: ['3.7', '3.8', '3.9']
20+
python: ['3.8', '3.9', '3.10']
2121
steps:
2222
- uses: actions/checkout@v2
2323
- uses: actions/setup-python@v2

.github/workflows/pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest]
18-
python: ['3.7', '3.8', '3.9']
18+
python: ['3.8', '3.9', '3.10']
1919
steps:
2020
- uses: actions/checkout@v2
2121
- uses: actions/setup-python@v2

detect_secrets/plugins/ibm_cloud_iam.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def verify(self, secret: str) -> VerifiedResult:
3434

3535

3636
def verify_cloud_iam_api_key(apikey: Union[str, bytes]) -> requests.Response: # pragma: no cover
37-
if type(apikey) == bytes:
37+
if type(apikey) is bytes:
3838
apikey = apikey.decode('UTF-8')
3939

4040
headers = {

requirements-dev.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ certifi==2023.7.22
44
cfgv==3.2.0
55
charset-normalizer==2.0.7
66
coverage==4.5.4
7-
distlib==0.3.6
8-
filelock==3.0.12
7+
distlib==0.3.7
8+
filelock==3.12.2
99
flake8==3.5.0
1010
gibberish-detector==0.1.1
1111
identify==2.3.0
@@ -18,15 +18,15 @@ mypy==0.971
1818
mypy-extensions==0.4.3
1919
nodeenv==1.6.0
2020
packaging==21.3
21-
platformdirs==2.0.2
21+
platformdirs==3.10.0
2222
pluggy==0.13.1
2323
pre-commit==2.17.0
2424
py==1.11.0
2525
pyahocorasick==1.4.4
2626
pycodestyle==2.3.1
2727
pyflakes==1.6.0
2828
pyparsing==2.4.7
29-
pytest==6.2.2
29+
pytest==7.4.3
3030
PyYAML==6.0
3131
requests==2.31.0
3232
responses==0.16.0
@@ -40,5 +40,5 @@ types-requests==2.28.9
4040
typing-extensions==3.10.0.2
4141
unidiff==0.7.4
4242
urllib3==1.26.9
43-
virtualenv==20.6.0
43+
virtualenv==20.24.6
4444
zipp==3.6.0

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ def get_version():
2424
description='Tool for detecting secrets in the codebase',
2525
long_description=long_description,
2626
long_description_content_type='text/markdown',
27-
license='Copyright Yelp, Inc. 2020',
28-
author='Aaron Loo',
29-
author_email='[email protected]',
27+
author='Yelp, Inc.',
28+
author_email='[email protected]',
3029
url='https://github.com/Yelp/detect-secrets',
3130
download_url='https://github.com/Yelp/detect-secrets/archive/{}.tar.gz'.format(VERSION),
3231
keywords=['secret-management', 'pre-commit', 'security', 'entropy-checks'],

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
22
project = detect_secrets
33
# These should match the ci python env list
4-
envlist = py{37,38,39},mypy
4+
envlist = py{38,39,310},mypy
55
skip_missing_interpreters = true
6-
tox_pip_extensions_ext_venv_update = true
76

87
[testenv]
98
passenv = SSH_AUTH_SOCK

0 commit comments

Comments
 (0)