File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ The functionality is kept simple and all default shall be reasonable, but still
50
50
* specify warning count per:
51
51
- called function (for func deprecation)
52
52
- used arguments (for argument deprecation)
53
+ * define conditional skip (e.g. depending on some package version)
53
54
54
55
In particular the target values (cases):
55
56
@@ -178,6 +179,9 @@ sample output:
178
179
8
179
180
```
180
181
182
+ <details >
183
+ <summary >Multiple deprecation levels</summary >
184
+
181
185
Eventually you can set multiple deprecation levels via chaining deprecation arguments as each could be deprecated in another version:
182
186
183
187
``` python
@@ -204,6 +208,8 @@ sample output:
204
208
8
205
209
```
206
210
211
+ </details >
212
+
207
213
### Conditional skip
208
214
209
215
Conditional skip of which can be used for mapping between different target functions depending on additional input such as package version
@@ -237,6 +243,8 @@ sample output:
237
243
4
238
244
```
239
245
246
+ This can be beneficial with multiple deprecation levels shown above...
247
+
240
248
### Class deprecation
241
249
242
250
This case can be quite complex as you may deprecate just some methods, here we show full class deprecation:
You can’t perform that action at this time.
0 commit comments