Commit 1f9a7e0
📚 Add docstrings to dataclasses (#2292)
* Reduce rich methods (#2283)
remove rich
Signed-off-by: Ashwin Vaidya <[email protected]>
* Refactor BaseThreshold to Threshold (#2278)
* Refactor BaseThreshold to Threshold
* Add relative import and add tests
Signed-off-by: Samet Akcay <[email protected]>
* Revert threshold.py to base.py
Signed-off-by: Samet Akcay <[email protected]>
* Revert threshold imports
Signed-off-by: Samet Akcay <[email protected]>
* Update tests/unit/metrics/threshold/test_threshold.py
Co-authored-by: Ashwin Vaidya <[email protected]>
---------
Signed-off-by: Samet Akcay <[email protected]>
Co-authored-by: Ashwin Vaidya <[email protected]>
* Enable Ruff Rules: PLW1514 and PLR6201 (#2284)
* pre-commit autoupdate
Signed-off-by: Samet Akcay <[email protected]>
* Enable preview feautures, and disable some of the updated features
* Add missing copyrights
Signed-off-by: Samet Akcay <[email protected]>
* Ignore copyrights in notebooks
* "PLW1514", # Add explicit encoding argument
Signed-off-by: Samet Akcay <[email protected]>
* "PLR6201", # Convert to set
Signed-off-by: Samet Akcay <[email protected]>
---------
Signed-off-by: Samet Akcay <[email protected]>
* Update docstring - FieldDescriptor
* Add docstring to generic.py
Signed-off-by: Samet Akcay <[email protected]>
* Add docstring to numpy.py
Signed-off-by: Samet Akcay <[email protected]>
* Add docstring to torch.py
Signed-off-by: Samet Akcay <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/generic.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Dick Ameln <[email protected]>
* Update src/anomalib/dataclasses/torch.py
Co-authored-by: Ashwin Vaidya <[email protected]>
---------
Signed-off-by: Ashwin Vaidya <[email protected]>
Signed-off-by: Samet Akcay <[email protected]>
Co-authored-by: Ashwin Vaidya <[email protected]>
Co-authored-by: Ashwin Vaidya <[email protected]>
Co-authored-by: Dick Ameln <[email protected]>1 parent 333baec commit 1f9a7e0
File tree
4 files changed
+691
-75
lines changed- src/anomalib/dataclasses
4 files changed
+691
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
2 | 33 | | |
3 | 34 | | |
4 | 35 | | |
| |||
0 commit comments