checkmate5 4.1.0.dev11__py3-none-any.whl → 4.1.0.dev13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,9 +48,7 @@ class GptAnalyzer(BaseAnalyzer):
48
48
  os.environ["PATH"] = "/root/.go/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/:/usr/local/go/bin/"
49
49
 
50
50
  try:
51
- result = subprocess.check_output(["/root/bin/ptpt",
52
- "run",
53
- "scr",
51
+ result = subprocess.check_output(["aigraphcodescan",
54
52
  f.name],
55
53
  stderr=subprocess.DEVNULL).strip()
56
54
  except subprocess.CalledProcessError as e:
@@ -74,7 +72,7 @@ class GptAnalyzer(BaseAnalyzer):
74
72
  location = (((value,None),
75
73
  (value,None)),)
76
74
 
77
- string = issue["finding"]
75
+ string = issue["description"]
78
76
  string = string.replace("'","")
79
77
  string = string.replace("`","")
80
78
  string = string.replace("\"","")
@@ -82,7 +80,7 @@ class GptAnalyzer(BaseAnalyzer):
82
80
  string = re.sub('[^A-Za-z0-9 ]+', '', string)
83
81
 
84
82
  issues.append({
85
- 'code': "I001",
83
+ 'code': "I001" ,
86
84
  'location': location,
87
85
  'data': string,
88
86
  'file': file_revision.path,
@@ -3,4 +3,4 @@ issues_data = { 'I001': { 'categories': [],
3
3
  'file': '%(issue.file)s',
4
4
  'line': '%(issue.line)s',
5
5
  'severity': 3,
6
- 'title': 'Openai'}}
6
+ 'title': 'OpenAI LLM'}}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: checkmate5
3
- Version: 4.1.0.dev11
3
+ Version: 4.1.0.dev13
4
4
  Summary: A meta-code checker written in Python.
5
5
  Author: Andreas Dewes
6
6
  License: AGPL-3.0
@@ -1,13 +1,11 @@
1
1
  checkmate/__init__.py,sha256=h0A5VNAgY_KCei1186pBJXycyUYDdeInykmh26yrxOM,1121
2
2
  checkmate/__main__.py,sha256=f39qxz9fNWmRBKiqJij6cYBO-ekZghr7dDOqAF6xvjU,1182
3
3
  checkmate/exceptions.py,sha256=QmXREqMV_3oinlOgI_4Iwz7_nL61UsrubkG-SXEBW8M,117
4
- checkmate/__pycache__/__init__.cpython-312.pyc,sha256=d40ed5drH8hrXIMCX4VEwfQ7geTt205cNxxArEL6kZE,154
5
- checkmate/__pycache__/__main__.cpython-312.pyc,sha256=wjNKuSg-Vsb1HI5d226Epy3Jbe1yPjBa39TwKAC9OKw,280
6
4
  checkmate/contrib/__init__.py,sha256=h0A5VNAgY_KCei1186pBJXycyUYDdeInykmh26yrxOM,1121
7
5
  checkmate/contrib/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
6
  checkmate/contrib/plugins/all/gptanalyzer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- checkmate/contrib/plugins/all/gptanalyzer/analyzer.py,sha256=gmUBUp8pwJ8o2MSjEs6ynvQNLOigdoh7KM0pehUi8o4,3208
10
- checkmate/contrib/plugins/all/gptanalyzer/issues_data.py,sha256=Mc__UDfqtMSzicK0py9dXg6KtVycOZxJ2C0-6y0uPLI,248
7
+ checkmate/contrib/plugins/all/gptanalyzer/analyzer.py,sha256=OV7P5CUALczfc0ngbyRUE_8tspTJRUthM2TjGl8LE_8,3100
8
+ checkmate/contrib/plugins/all/gptanalyzer/issues_data.py,sha256=pUC6pC33TEpgRProHoAJPvEr7wYaWgQvDXruWCTO_NE,252
11
9
  checkmate/contrib/plugins/all/gptanalyzer/setup.py,sha256=60GttDlkRy7Ne_upLOoBgkatBKeKumHi86eEaBz1hzY,304
12
10
  checkmate/contrib/plugins/cve/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
11
  checkmate/contrib/plugins/cve/text4shell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -113,9 +111,9 @@ checkmate/scripts/manage.py,sha256=mpioBaxzirAKXZtbxO-y4dbOcc6UoP0MaAMsNuKHbz0,4
113
111
  checkmate/settings/__init__.py,sha256=z32hPz-kGS-tTGa6dWCFjrrrbS_eagLd-YrqBP3gjWI,33
114
112
  checkmate/settings/base.py,sha256=3WBXZITqoWepIja96bo5JTi-TDpQALPTCugL0E8z-yE,4551
115
113
  checkmate/settings/defaults.py,sha256=uK1KB50ukDbk2rACyiCQuXTNSr2M7GXE-2_GTFupbv0,2728
116
- checkmate5-4.1.0.dev11.dist-info/LICENSE.txt,sha256=SGQTFjJQjkYGoK1PCFfMKpfgRLm3yL0h9Mq2o26sm2E,151451
117
- checkmate5-4.1.0.dev11.dist-info/METADATA,sha256=Z19RyFDNXGYXc4aCnJECxwK_IDiCmuKaz2HwVJslCF0,1239
118
- checkmate5-4.1.0.dev11.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
119
- checkmate5-4.1.0.dev11.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
120
- checkmate5-4.1.0.dev11.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
121
- checkmate5-4.1.0.dev11.dist-info/RECORD,,
114
+ checkmate5-4.1.0.dev13.dist-info/LICENSE.txt,sha256=SGQTFjJQjkYGoK1PCFfMKpfgRLm3yL0h9Mq2o26sm2E,151451
115
+ checkmate5-4.1.0.dev13.dist-info/METADATA,sha256=CuZs6XnAyz5IT9ocRM6DmFY4fDAJMymbclPHuvpW940,1239
116
+ checkmate5-4.1.0.dev13.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
117
+ checkmate5-4.1.0.dev13.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
118
+ checkmate5-4.1.0.dev13.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
119
+ checkmate5-4.1.0.dev13.dist-info/RECORD,,