Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 76c91cc

Browse files
Python 3.9 (#69)
1 parent 5d6e1bd commit 76c91cc

File tree

5 files changed

+699
-484
lines changed

5 files changed

+699
-484
lines changed

.secrets.baseline

Lines changed: 53 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"generated_at": "2020-07-20T20:19:41Z",
2+
"version": "1.4.0",
33
"plugins_used": [
44
{
5-
"name": "AWSKeyDetector"
5+
"name": "ArtifactoryDetector"
66
},
77
{
8-
"name": "ArtifactoryDetector"
8+
"name": "AWSKeyDetector"
99
},
1010
{
1111
"name": "Base64HighEntropyString",
@@ -31,8 +31,8 @@
3131
"name": "JwtTokenDetector"
3232
},
3333
{
34-
"keyword_exclude": null,
35-
"name": "KeywordDetector"
34+
"name": "KeywordDetector",
35+
"keyword_exclude": ""
3636
},
3737
{
3838
"name": "MailchimpDetector"
@@ -53,72 +53,61 @@
5353
"name": "TwilioKeyDetector"
5454
}
5555
],
56+
"filters_used": [
57+
{
58+
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
59+
},
60+
{
61+
"path": "detect_secrets.filters.common.is_baseline_file",
62+
"filename": ".secrets.baseline"
63+
},
64+
{
65+
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
66+
"min_level": 2
67+
},
68+
{
69+
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
70+
},
71+
{
72+
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
73+
},
74+
{
75+
"path": "detect_secrets.filters.heuristic.is_lock_file"
76+
},
77+
{
78+
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
79+
},
80+
{
81+
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
82+
},
83+
{
84+
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
85+
},
86+
{
87+
"path": "detect_secrets.filters.heuristic.is_sequential_string"
88+
},
89+
{
90+
"path": "detect_secrets.filters.heuristic.is_swagger_file"
91+
},
92+
{
93+
"path": "detect_secrets.filters.heuristic.is_templated_secret"
94+
}
95+
],
5696
"results": {
5797
".travis.yml": [
5898
{
5999
"type": "Base64 High Entropy String",
60100
"filename": ".travis.yml",
61-
"hashed_secret": "c0f6a9c34a9785144815d1663bf345f32ad0d411",
62-
"is_verified": false,
63-
"line_number": 28,
64-
"is_secret": false
65-
}
66-
],
67-
"Pipfile.lock": [
68-
{
69-
"type": "Hex High Entropy String",
70-
"filename": "Pipfile.lock",
71-
"hashed_secret": "a208e4f9c74f7a205d0f4a3dee68140ce88ce818",
72-
"is_verified": false,
73-
"line_number": 4,
74-
"is_secret": false
75-
},
76-
{
77-
"type": "Hex High Entropy String",
78-
"filename": "Pipfile.lock",
79-
"hashed_secret": "6011ea66faf3039c5b29fdbaa0567c0356ff9a1c",
80-
"is_verified": false,
81-
"line_number": 125,
82-
"is_secret": false
83-
},
84-
{
85-
"type": "Hex High Entropy String",
86-
"filename": "Pipfile.lock",
87-
"hashed_secret": "640e60795f08744221f6816fe9dc949c58465256",
88-
"is_verified": false,
89-
"line_number": 130,
90-
"is_secret": false
91-
},
92-
{
93-
"type": "Hex High Entropy String",
94-
"filename": "Pipfile.lock",
95-
"hashed_secret": "d339625d7addea9138006aec1f6ca8679024e5bb",
96-
"is_verified": false,
97-
"line_number": 222,
98-
"is_secret": false
99-
},
100-
{
101-
"type": "Hex High Entropy String",
102-
"filename": "Pipfile.lock",
103-
"hashed_secret": "fb5db621cdd0255778280b17080c8dcdfb417066",
104-
"is_verified": false,
105-
"line_number": 227,
106-
"is_secret": false
107-
},
108-
{
109-
"type": "Hex High Entropy String",
110-
"filename": "Pipfile.lock",
111-
"hashed_secret": "d525d5ebd014ae5326d34dc39e47a1fce67f9991",
101+
"hashed_secret": "f7c7521de09503540ad0e35bbb8119ad4c79f64d",
112102
"is_verified": false,
113-
"line_number": 245,
114-
"is_secret": false
103+
"line_number": 8
115104
},
116105
{
117-
"type": "Hex High Entropy String",
118-
"filename": "Pipfile.lock",
119-
"hashed_secret": "2698838211dc12f77bea1c167e20e0822d59a27c",
106+
"type": "Base64 High Entropy String",
107+
"filename": ".travis.yml",
108+
"hashed_secret": "c0f6a9c34a9785144815d1663bf345f32ad0d411",
120109
"is_verified": false,
121-
"line_number": 269,
110+
"line_number": 28,
122111
"is_secret": false
123112
}
124113
],
@@ -154,7 +143,7 @@
154143
"filename": "tests/test_client.py",
155144
"hashed_secret": "301918c8b904630da85e75ee32e9ba68ff925b73",
156145
"is_verified": false,
157-
"line_number": 42,
146+
"line_number": 16,
158147
"is_secret": false
159148
},
160149
{
@@ -167,41 +156,5 @@
167156
}
168157
]
169158
},
170-
"version": "1.4.0",
171-
"filters_used": [
172-
{
173-
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
174-
},
175-
{
176-
"path": "detect_secrets.filters.heuristic.is_sequential_string"
177-
},
178-
{
179-
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
180-
},
181-
{
182-
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
183-
},
184-
{
185-
"path": "detect_secrets.filters.heuristic.is_templated_secret"
186-
},
187-
{
188-
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
189-
},
190-
{
191-
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
192-
},
193-
{
194-
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
195-
"min_level": 2
196-
},
197-
{
198-
"path": "detect_secrets.filters.heuristic.is_lock_file"
199-
},
200-
{
201-
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
202-
},
203-
{
204-
"path": "detect_secrets.filters.heuristic.is_swagger_file"
205-
}
206-
]
159+
"generated_at": "2023-01-30T20:56:37Z"
207160
}

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
22
python:
3-
- '3.6'
3+
- '3.9'
44
sudo: false
55
env:
66
global:
@@ -10,7 +10,7 @@ install:
1010
- pip install pipenv
1111
- pipenv install --dev --deploy --python `which python`
1212
- pipenv graph
13-
script: pipenv run py.test -vv
13+
script: pipenv run pytest -vv
1414
before_deploy:
1515
- sed -i.bak "s/=get_version()/='$TRAVIS_TAG'/g" setup.py
1616
- cat setup.py
@@ -21,7 +21,7 @@ deploy:
2121
skip_existing: true
2222
skip_cleanup: true
2323
on:
24-
python: 3.6
24+
python: 3.9
2525
repo: uc-cdis/indexclient
2626
tags: true
2727
password:

Pipfile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@ name = "pypi"
33
url = "https://pypi.org/simple"
44
verify_ssl = true
55

6+
[packages]
7+
requests = "*"
8+
indexclient = {editable = true, path = "."}
9+
610
[dev-packages]
711
pytest = "*"
812
mock = "*"
9-
cdisutilstest = {editable = true,git = "https://github.com/uc-cdis/cdisutils-test.git",ref = "1.0.0"}
10-
indexd = {editable = true,git = "https://github.com/uc-cdis/indexd.git",ref = "2.4.0"}
11-
doiclient = {editable = true,git = "https://github.com/uc-cdis/doiclient.git",ref = "1.0.0"}
12-
dosclient = {editable = true,git = "https://github.com/uc-cdis/dosclient.git",ref = "1.0.0"}
13-
hsclient = {editable = true,git = "https://github.com/uc-cdis/hsclient.git",ref = "1.0.0"}
14-
cdislogging = {editable = true,git = "https://github.com/uc-cdis/cdislogging.git",ref = "1.0.0"}
15-
16-
[packages]
17-
requests = "*"
18-
indexclient = {editable = true,path = "."}
13+
cdisutilstest = {editable = true, git = "https://github.com/uc-cdis/cdisutils-test.git", ref = "1.0.0"}
14+
indexd = {git = "https://github.com/uc-cdis/indexd.git", ref = "4.0.2"}
1915

2016
[requires]
21-
python_version = "3.6"
17+
python_version = "3.9"

0 commit comments

Comments
 (0)