Commit 2697ad9
authored
fix: remove dead importlib_metadata fallback (#707)
The try/except importing importlib_metadata as a fallback for
importlib.metadata dates from Python <3.8 support. The project
requires Python >=3.11, so this is dead code.
Also removes the DEP001 deptry suppression that was covering it.
Authored by Jny1 parent 563c8a3 commit 2697ad9
2 files changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
| |||
0 commit comments