nanovna-saver.py can be called from outside the source directory. The
module import path needs to be resolved relative to the source
directory, not relative to the current working directory of the
process.
Fixes: b0110002 ("moved to pyscaffold directory structure")
* Remove privacy breaches from the HTML documentation
Icons and screenshots should not inform distant websites each time an
user reads readme.html.
The suggestions in this draft are independent and will probably be
discussed separately, but they affect a single file so for a first
review a single commit is convenient.
* fix: sweep settings and hw version update
NamedTuples are inmutable either use _replace or use the class itself.
* Revert "Remove privacy breaches from the HTML documentation"
---------
Co-authored-by: Nicolas Boulenguez <nicolas@debian.org>
* Style: update type annotations
* Style: simplify extraction of version from metadata
* Style: replace some handwritten classes with namedtuples or dataclasses
* RIZ.py: remove unused import
* Style: remove some redundant lambda constructs
* Marker/Values: remove __init__ parameters
Mutable default values imply some complexity. In this case, the
constructor is always called without arguments.
Git sometimes replaces CRLF with a single characters, so the tar.gz
archives generated by github from tags differ from the tagged commit.
The tests also pass with a single line terminator.
Some redistributors want a manual page for each executable in path.
The installation path may differ accross systems, so the manual page
is not installed by default.
The file is not intended for direct execution,
not installed in the path,
and not marked as executable.
Its extension is sufficient for editors to trigger syntax highlighting.
The shebang seems to only trigger warnings on systems wher /bin/env is
unavailable (it may be in /usr/bin for example).