Commit b855310
authored
Disable pylint 2.8 consider-using-with refactoring suggestion (#1244)
Each pygmt.Figure instance has an associated directory that
holds temporary preview PNG and/or PDF figure files. It's
not easy to use a with-statement since TemporaryDirectory
is called in the __init__ of the Figure class, so the pylint
recommendation is simply disabled here.1 parent 91e3648 commit b855310
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
378 | | - | |
| 380 | + | |
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
| |||
0 commit comments