https://git.schokokeks.org/derivepassphrase.git/tree/81017d35332bb146b991e34c9a9d51964ee23486 Recent commits to derivepassphrase.git (81017d35332bb146b991e34c9a9d51964ee23486) 2024-07-28T15:31:09+02:00 tag:gitlist.org,2012:commit/81017d35332bb146b991e34c9a9d51964ee23486 Shift misplaced local function 2024-07-28T15:31:09+02:00 Marco Ricci m@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/a980a643275de28f7715241790f199f947f637f4 Merge topic branch 'issue6-config-directory-must-exist' into master 2024-07-28T15:06:12+02:00 Marco Ricci m@the13thletter.info <pre>* t/issue6-config-directory-must-exist: Create the configuration directory upon saving, if needed Isolate tests properly and consistently from user configuration GitHub: Closes #8, closes #6. &lt;/pre&gt; tag:gitlist.org,2012:commit/204af5e376b662d18fb20f00351e30386c309c30 Create the configuration directory upon saving, if needed 2024-07-28T15:02:34+02:00 Marco Ricci m@the13thletter.info <pre>Do not error out during the first attempt at saving the configuration, where the configuration directory probably does not yet exist. On an unrelated note, fix one typo in `derivepassphrase.cli` and a missing dependency in the hatch environment for type checking. &lt;/pre&gt; tag:gitlist.org,2012:commit/8fdf780f166e815f08cdcd3c27b034501794b8c0 Isolate tests properly and consistently from user configuration 2024-07-28T14:27:31+02:00 Marco Ricci m@the13thletter.info <pre>Running the tests on a machine which already had a broken derivepassphrase configuration (e.g., invalid JSON in the `settings.json` file) previously caused some unrelated tests to fail for that reason. Therefore, apply isolation to *all* tests calling the command-line interface. &lt;/pre&gt; tag:gitlist.org,2012:commit/a38220164c60deecc5aa45c50997ffde4a632353 Merge topic branch 'offline-documentation' into master 2024-07-22T14:06:02+02:00 Marco Ricci m@the13thletter.info <pre>* t/offline-documentation: Add alternate MkDocs configuration for building offline documentation &lt;/pre&gt; tag:gitlist.org,2012:commit/61739bc58a1dd15e32f10ef05b935e33c163eda4 Add alternate MkDocs configuration for building offline documentation 2024-07-22T14:05:42+02:00 Marco Ricci m@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/966ae765251075ca74023e6dbf04013a87e28951 Merge topic branch 'mypy-strict-typing' into master 2024-07-22T13:45:47+02:00 Marco Ricci m@the13thletter.info <pre>* t/mypy-strict-typing: Add mypy configuration to also check tests Fix typing issues in mypy strict mode Fix import from stdlib module types Add bitseq function in tests for more readable notation &lt;/pre&gt; tag:gitlist.org,2012:commit/299944db1b956f6078a5c1d794aa10e0e3649cd4 Add mypy configuration to also check tests 2024-07-22T13:39:05+02:00 Marco Ricci m@the13thletter.info <pre>This was already done earlier, but the configuration was not yet committed. &lt;/pre&gt; tag:gitlist.org,2012:commit/fc8c8f924a2a6876f3f954579e2ad170834a71de Fix typing issues in mypy strict mode 2024-07-22T13:37:03+02:00 Marco Ricci m@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/785d32a525fac2eda1429b730575e3fc8a0d3fc2 Fix import from stdlib module types 2024-07-22T13:24:42+02:00 Marco Ricci m@the13thletter.info <pre>Having both a `types` submodule and importing the stdlib `types` directly as `types` was unproblematic at runtime, but very confusing to `mypy`. Since we only need one type, and since the stdlib `types` module has a similar role to `collections.abc`, `typing` and `typing_extensions`, I presume it is at least in the spirit of the Google Style Guide to treat imports from `types` like imports from `typing`, i.e., to allow direct import of symbols from that module. &lt;/pre&gt;