troubadix 25.1.0__py3-none-any.whl → 25.1.1__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.
troubadix/__version__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
4
4
 
5
- __version__ = "25.1.0"
5
+ __version__ = "25.1.1"
@@ -32,6 +32,14 @@ IGNORE_TAGS = [
32
32
  "script_name",
33
33
  "script_xref",
34
34
  "script_add_preference",
35
+ # nb: Various variants of URLs in comments which we can't / shouldn't
36
+ # trim down
37
+ " # http://",
38
+ " # https://",
39
+ " # - http://",
40
+ " # - https://",
41
+ " # > http://",
42
+ " # > https://",
35
43
  # nb: Special cases we should ignore (at least for now) as these are
36
44
  # commonly used like this and is only two chars "too long".
37
45
  'script_tag(name:"vuldetect", value:"Checks if a vulnerable version is '
@@ -81,7 +81,7 @@ def _finalize_content(content: str) -> str:
81
81
  content_to_keep = content.split("exit(0);")[0]
82
82
  return content_to_keep + (
83
83
  'script_tag(name:"deprecated", value:TRUE);'
84
- "\n\nexit(0);\n}\n\nexit(66);\n"
84
+ "\n\n exit(0);\n}\n\nexit(66);\n"
85
85
  )
86
86
 
87
87
 
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: troubadix
3
- Version: 25.1.0
3
+ Version: 25.1.1
4
4
  Summary: A linting and QA check tool for NASL files
5
- Home-page: https://github.com/greenbone/troubadix
6
5
  License: GPL-3.0-or-later
7
6
  Author: Greenbone
8
7
  Author-email: info@greenbone.net
@@ -22,9 +21,10 @@ Requires-Dist: chardet (>=4,<6)
22
21
  Requires-Dist: charset-normalizer (>=3.2.0,<4.0.0)
23
22
  Requires-Dist: codespell (>=2.0.0,<3.0.0)
24
23
  Requires-Dist: gitpython (>=3.1.31,<4.0.0)
25
- Requires-Dist: pontos (>=22.7,<25.0)
24
+ Requires-Dist: pontos (>=22.7,<26.0)
26
25
  Requires-Dist: python-magic (>=0.4.25,<0.5.0)
27
26
  Requires-Dist: validators (>=0.34.0,<0.35.0)
27
+ Project-URL: Homepage, https://github.com/greenbone/troubadix
28
28
  Project-URL: Repository, https://github.com/greenbone/troubadix
29
29
  Description-Content-Type: text/markdown
30
30
 
@@ -1,5 +1,5 @@
1
1
  troubadix/__init__.py,sha256=K7sIXXDrC7YRb7BvIpdQ6ZfG_QkT0qUH_wAlHROVRfM,716
2
- troubadix/__version__.py,sha256=PTCuktvqFn_OwS3R-mZjoqzJ98AVAHDE3wA7jrDJ98s,103
2
+ troubadix/__version__.py,sha256=DlIcvh5hb66n25WeAPv-ukViUKzQ2ydLEb-sTIsNfmA,103
3
3
  troubadix/argparser.py,sha256=YAo8cGJt0k2GMICXrDj3Z124GrM8oRwgNm2Bn3J_gYI,7001
4
4
  troubadix/codespell/codespell.additions,sha256=NAYnQF79kdk4YhU_h8fpjAVVkqBm778aPHPPP7FEkZY,504
5
5
  troubadix/codespell/codespell.exclude,sha256=W38XK8hoWWgLDCCJ7USj0YPhqzW68UN7va7bGA2n5eg,145449
@@ -36,7 +36,7 @@ troubadix/plugins/missing_desc_exit.py,sha256=GAd4FXhjX1ZEkb4hz3HqqDQVSxfuXVtuKK
36
36
  troubadix/plugins/missing_tag_solution.py,sha256=iO7_6Us3w12AVPuiGK3AUU3S62K1lcZvcGK_-fvvQtk,2828
37
37
  troubadix/plugins/multiple_re_parameters.py,sha256=9NugrcdHBmX2UO9mOuWiqxbIX1sXniZ2AhSW2pguSBE,1422
38
38
  troubadix/plugins/newlines.py,sha256=aEQOzkzd3rl9DjEi7q0EOB1M8h41WXr0O5Qf4jMFEvM,2788
39
- troubadix/plugins/overlong_description_lines.py,sha256=dF7UQ7tphkWuiXeLj4-y0zi86RumkwCCPCn2My1SIDo,3130
39
+ troubadix/plugins/overlong_description_lines.py,sha256=qBGlZpZn-WToJQhBpPMkHLvHjXpPtasvKS3PrtqtBOc,3345
40
40
  troubadix/plugins/overlong_script_tags.py,sha256=LKJQxX9s2fkExkM0MOIqYZGOKbEe9eth7DEcxFo3A8k,2356
41
41
  troubadix/plugins/prod_svc_detect_in_vulnvt.py,sha256=AnHF5jPNz4wEr-etZ2fkJNqqMH2he-9ofOdzWJyPeK4,4292
42
42
  troubadix/plugins/qod.py,sha256=OMEjZR3fbimLX4F3LsMZZn4IZi32j4soMYp1uQFv5Sc,4164
@@ -87,14 +87,14 @@ troubadix/standalone_plugins/changed_packages/marker/dropped_architecture.py,sha
87
87
  troubadix/standalone_plugins/changed_packages/marker/marker.py,sha256=7uZXR2Ds_8soB_2wugCkOSz_3hoX03KMh2NAW0G5Dzg,1278
88
88
  troubadix/standalone_plugins/changed_packages/package.py,sha256=Pcr2tcwiPTzD3jB0iteqA7-TajL-dl5Onh1dvC_H9xk,2743
89
89
  troubadix/standalone_plugins/common.py,sha256=PkScV-lisNY4WyrzwjV3dK1DF26hJv5JXTcREblJ0v0,1028
90
- troubadix/standalone_plugins/deprecate_vts.py,sha256=WjhJb9YkUp_5TScE9wKI856tfi7ZZ6mBQQdrE-BqQE0,7889
90
+ troubadix/standalone_plugins/deprecate_vts.py,sha256=iRYHA1_Uf1zRs0ExwNfo7Z6Jt6eSP4WBKwM6s2GyqeQ,7891
91
91
  troubadix/standalone_plugins/file_extensions.py,sha256=QLQt02WIc4SWLDTKKnG8q2g-atC7Mgus-opuXf_SX1A,2630
92
92
  troubadix/standalone_plugins/last_modification.py,sha256=oYzQq7xV3YzSvi6ZtuHuupXsJwBtO93tKfbwaIeqiJI,4616
93
93
  troubadix/standalone_plugins/no_solution.py,sha256=81r20kP8otRob2NTaCea-sgVRIM6ARvhddFdibsG6Ao,8877
94
94
  troubadix/standalone_plugins/version_updated.py,sha256=RlzVuXgFOvcjrRTOhiTYlmzV4vvcn7ntCz0lDTjePMU,4316
95
95
  troubadix/troubadix.py,sha256=foA7Loi67cCKieN3ea4s3QOfOWOkgwQVR1H-pNXtXn0,6041
96
- troubadix-25.1.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
- troubadix-25.1.0.dist-info/METADATA,sha256=CEPP_4BwEn8y7qGtqyd4rZrWuSZWp5bo7Fz20lM48Ds,4416
98
- troubadix-25.1.0.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
99
- troubadix-25.1.0.dist-info/entry_points.txt,sha256=LplOk4nzKrS4B8Jz0SPkQLPlIDesdraCO8Vp_eoycpc,737
100
- troubadix-25.1.0.dist-info/RECORD,,
96
+ troubadix-25.1.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
+ troubadix-25.1.1.dist-info/METADATA,sha256=QrKxF8_69qhBPqo_6gyedojFqM7f7DTWgRznQFIqYn8,4428
98
+ troubadix-25.1.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
99
+ troubadix-25.1.1.dist-info/entry_points.txt,sha256=LplOk4nzKrS4B8Jz0SPkQLPlIDesdraCO8Vp_eoycpc,737
100
+ troubadix-25.1.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.0
2
+ Generator: poetry-core 2.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any