Commit 32964a7
committed
Fix pylint warnings (#297)
```
nox > pylint openlifu
************* Module openlifu.db.database
Warning: .nox/pylint/lib/python3.12/site-packages/openlifu/db/database.py:396:24: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
************* Module openlifu.nav.photoscan
Warning: .nox/pylint/lib/python3.12/site-packages/openlifu/nav/photoscan.py:195:13: I1101: Module 'OpenEXR' has no 'File' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member)
```1 parent a7eae35 commit 32964a7
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
| 396 | + | |
| 397 | + | |
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
| |||
0 commit comments