@@ -101,7 +101,7 @@ def __init__(
101
101
auto_data = False , timid = None , branch = None , config_file = True ,
102
102
source = None , source_pkgs = None , omit = None , include = None , debug = None ,
103
103
concurrency = None , check_preimported = False , context = None ,
104
- ):
104
+ ): # pylint: disable=too-many-arguments
105
105
"""
106
106
Many of these arguments duplicate and override values that can be
107
107
provided in a configuration file. Parameters that are missing here
@@ -146,6 +146,10 @@ def __init__(
146
146
in the trees indicated by the file paths or package names will be
147
147
measured.
148
148
149
+ `source_pkgs` is a list of package names. It works the same as
150
+ `source`, but can be used to name packages where the name can also be
151
+ interpreted as a file path.
152
+
149
153
`include` and `omit` are lists of file name patterns. Files that match
150
154
`include` will be measured, files that match `omit` will not. Each
151
155
will also accept a single string argument.
@@ -176,6 +180,9 @@ def __init__(
176
180
.. versionadded:: 5.0
177
181
The `check_preimported` and `context` parameters.
178
182
183
+ .. versionadded:: 5.3
184
+ The `source_pkgs` parameter.
185
+
179
186
"""
180
187
# data_file=None means no disk file at all. data_file missing means
181
188
# use the value from the config file.
0 commit comments