@@ -18,7 +18,6 @@ use std::sync::Arc;
1818/// example:
1919/// grs = pyrepscan.GitRepositoryScanner()
2020#[ pyclass]
21- #[ text_signature = "()" ]
2221#[ derive( Default ) ]
2322struct GitRepositoryScanner {
2423 rules_manager : rules_manager:: RulesManager ,
@@ -57,7 +56,6 @@ impl GitRepositoryScanner {
5756 /// "(?:test|example|xxx|empty)",
5857 /// ],
5958 /// )
60- #[ text_signature = "(name, pattern, whitelist_patterns, blacklist_patterns, /)" ]
6159 fn add_content_rule (
6260 & mut self ,
6361 name : String ,
@@ -88,7 +86,6 @@ impl GitRepositoryScanner {
8886 /// name="Rule #2",
8987 /// pattern=r".*\.(?:pem|cer)",
9088 /// )
91- #[ text_signature = "(name, pattern, /)" ]
9289 fn add_file_path_rule (
9390 & mut self ,
9491 name : String ,
@@ -117,7 +114,6 @@ impl GitRepositoryScanner {
117114 /// grs.add_file_extension_to_skip(
118115 /// file_extension="tar.gz",
119116 /// )
120- #[ text_signature = "(file_extension, /)" ]
121117 fn add_file_extension_to_skip (
122118 & mut self ,
123119 file_extension : String ,
@@ -141,7 +137,6 @@ impl GitRepositoryScanner {
141137 /// grs.add_file_path_to_skip(
142138 /// file_extension="example",
143139 /// )
144- #[ text_signature = "(file_path, /)" ]
145140 fn add_file_path_to_skip (
146141 & mut self ,
147142 file_path : String ,
@@ -163,7 +158,6 @@ impl GitRepositoryScanner {
163158 /// repository_path="/path/to/repository",
164159 /// file_oid="6b584e8ece562ebffc15d38808cd6b98fc3d97ea",
165160 /// )
166- #[ text_signature = "(repository_path, file_oid, /)" ]
167161 fn get_file_content (
168162 & mut self ,
169163 py : Python ,
@@ -192,7 +186,6 @@ impl GitRepositoryScanner {
192186 /// repository_path="/path/to/repository",
193187 /// branch_glob_pattern="*",
194188 /// )
195- #[ text_signature = "(repository_path, branch_glob_pattern, from_timestamp, /)" ]
196189 fn scan (
197190 & self ,
198191 py : Python ,
@@ -232,7 +225,6 @@ impl GitRepositoryScanner {
232225 /// repository_path="/path/to/repository",
233226 /// branch_glob_pattern="*",
234227 /// )
235- #[ text_signature = "(url, repository_path, branch_glob_pattern, from_timestamp, /)" ]
236228 fn scan_from_url (
237229 & self ,
238230 py : Python ,
0 commit comments