Comment: | update docs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3f778d96b79453c9184973186cf2e7ce |
User & Date: | mario on 2022-10-28 07:14:51 |
Other Links: | manifest | tags |
2022-10-28
| ||
07:46 | remove test value check-in: 3fa8451133 user: mario tags: trunk | |
07:14 | update docs check-in: 3f778d96b7 user: mario tags: trunk | |
07:11 | update commentary, force dynamic= fields, skip field if set via ini, adapt to .setup changes check-in: ff3080056a user: mario tags: trunk | |
Modified README.md from [05362db7a2] to [4aec538275].
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - - | What for then? > * Separates code from meta data. Avoids keeping seldomly used descriptors in variables. > * Does away with externalized ini/json files for modules, yet simplifies use of external tooling. > * Minimizes premature module loading just to inspect meta information. |
173 174 175 176 177 178 179 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | - + - - + + + + | # flit wrapper Alternatively, there's `pluginconf.flit` to utilize pyproject.toml for building packages, while sourcing meta data from the primary package file. [build-system] |
Modified html/depends.html from [c59d901773] to [fc174a2044].
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + - + | <section> </section> <section> <h2 class="section-title" id="header-classes">Classes</h2> <dl> <dt id="pluginconf.depends.Check"><code class="flex name class"> <span>class <span class="ident">Check</span></span> |
Modified html/flit.html from [5f3e858fb2] to [b481f5e446].
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | - - - - - - - + - | <section> </section> <section> </section> <section> <h2 class="section-title" id="header-functions">Functions</h2> <dl> |
Modified html/setup.html from [e58aa12886] to [70f7b7c594].
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | - + - + - - + + + + | <dt id="pluginconf.setup.name_to_fn"><code class="name flex"> <span>def <span class="ident">name_to_fn</span></span>(<span>name)</span> </code></dt> <dd> <div class="desc"><p>find primary entry point.py from package name</p></div> </dd> <dt id="pluginconf.setup.setup"><code class="name flex"> |
Modified test/basic.py from [10b052f131] to [4798865c44].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | + - + + + + + + | # type: test # title: basic PMD # description: check for some fields # version: 0.1-rc1 # # This the doc. import pytest import pluginconf @pytest.fixture def pmd(): return pluginconf.plugin_meta(fn=__file__) def type_(pmd): assert pmd["type"] == "test" def version_(pmd): |