Overview
Comment: | pylint fixes for pluginconf.depends |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3be9f23c5701f8129ae0b491aa3bcd3e |
User & Date: | mario on 2022-10-27 07:44:40 |
Other Links: | manifest | tags |
Context
2022-10-27
| ||
07:47 | update Check check-in: 2568a72ca8 user: mario tags: trunk | |
07:44 | pylint fixes for pluginconf.depends check-in: 3be9f23c57 user: mario tags: trunk | |
05:34 | lots pylint fixes, add documentation check-in: 9c3d295916 user: mario tags: trunk | |
Changes
Modified README.md from [d0883b96e6] to [05362db7a2].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | Provides meta data extraction and plugin basename lookup. And it’s meant for in-application feature and option management. |
︙ | |||
54 55 56 57 58 59 60 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + | module_base = "pluginconf" # or any top-level app module Which declares module and plugin basenames, which get used for lookups by just module= names in e.g. `module_list()`. (Works for literal setups and within PYZ bundles). This is unnecessary for plain `plugin_meta(fn=)` extraction. |
︙ | |||
180 181 182 183 184 185 186 | 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | - + - + | requires = ["flit_core", "pluginconf"] build-backend = "pluginconf.flit" [project] name = "projectname" It can be invoked via `python -m pluginconf.flit build` or even |
︙ |
Modified pluginconf/depends.py from [6e210a4c05] to [f49268879d].
︙ | |||
10 11 12 13 14 15 16 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - - + + + + - + - - - - + | # license: PD # priority: optional # # This is a rather basic depends: checker, mostly for local and # installable modules. It's largely built around streamtuner2 # requirements, and should be customized. # |
︙ | |||
65 66 67 68 69 70 71 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - - + + - - + + + + - + + + | api : list allowed api: identifiers for .valid() stream checks log : logging warning handler have : dict accumulated list of existing/virtual plugins """ |
︙ | |||
110 111 112 113 114 115 116 | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | - - + + - + + + - - - + + + + - - + - + + + + + - + - - - + + + + - + - - + - - - + + + - - + + - + - + - - - - - + + + + + + + + - - + + + - - + + + - | # aliases for name, meta in self.have.copy().items(): if meta.get("alias"): for alias in re.split(r"\s*[,;]\s*", meta["alias"]): self.have[alias] = self.have[name] |
Modified test/depends.py from [10d2104189] to [3267defa9d].
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | import pluginconf.depends import logging logging.basicConfig(level=logging.DEBUG) @pytest.fixture def check(): |
︙ |