Commit 1d495b9
committed
fix: make pylint conditional to maintain Python 3.9 compatibility
- Add conditional pylint installation in [project.optional-dependencies]
- Python 3.10+: pylint >=4.0.0
- Python 3.9: pylint >=2.0, <4.0
- Remove hardcoded pylint from [tool.poetry.dev-dependencies]
- Maintains backwards compatibility with Python 3.9 while allowing
Python 3.10+ users to use pylint v4
Fixes Python 3.9 CI/CD compatibility issue with pylint v4 upgrade.
This PR builds on top of PR #133 (pylint v4 upgrade) and adds
Python 3.9 compatibility.1 parent 21d24f5 commit 1d495b9
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
49 | 64 | | |
50 | 65 | | |
51 | 66 | | |
| |||
71 | 86 | | |
72 | 87 | | |
73 | 88 | | |
74 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
75 | 93 | | |
76 | 94 | | |
77 | 95 | | |
| |||
0 commit comments