Kyle Gentle
5e1c0c857e
pyright type checking: Initial setup
...
* Update imports to use fully qualified module name
* Add `typecheck` target to Makefile
* Add type annotations to appease pyright
* Switch from importlib_resources backport library to stdlib
import.resources
2022-08-18 21:23:55 -04:00
David Schmitt
1a52ec5801
Restrict pyyaml version to avoid error
...
```
TypeError: load() missing 1 required positional argument: 'Loader'
```
2022-06-03 20:17:00 +01:00
Sebastian Thiel
18c4ea9ec9
Also run 'docs-all' on CI to assure CLI docs keep working ( #281 )
...
This was introduced with ee64b751ea .
2021-04-26 09:31:34 +08:00
Dennis Vestergaard Værum
ee64b751ea
Bunped lib use in the generator, because I got errors when pip tried to install them. Also fixed dependency warning
2021-04-19 13:50:00 +02:00
Sebastian Thiel
d1ceab4cc5
downgrade to compatible mkdocs
...
Eventually it might not run anymore which is when we should find
a newer version that still works with our configuration files
or adjust the configuration files.
2021-04-01 22:41:57 +08:00
Sebastian Thiel
67c5495c64
Use ghp-import of virtual environment
2021-04-01 22:26:08 +08:00
Sebastian Thiel
7aba410489
pyenv is working, at least locally and without perfect isolation
2021-01-05 22:44:16 +08:00
Sebastian Thiel
3eca215447
Add codecov integration
2018-10-28 12:16:33 +01:00
Guy Taylor
73db014fe1
Wire in Python code coverage testing
...
Wire in pytest-cov to give code coverage results when running tests.
This does not publish the information curently.
2018-10-28 11:39:29 +01:00
Guy Taylor
4faa5f6203
Add first type inferance tests
...
This slightly changes to code under test by:
* Adding __init__.py files to create modules
* Converts for a.b to a['b'] to allow object or dict types
2018-10-28 11:39:29 +01:00
Guy Taylor
9867b260e1
Improve Python testing
...
Introduce pytest, wire it into Make and convert previous tests.
Note this is not wired into Travis
2018-10-21 22:37:39 +01:00
Guy Taylor
19e9943279
Move to Python requirements.txt file
...
This also links the requirments.txt file to the Venv via Make. So any
change to it will trigger the Make rule to install the new packages.
2018-10-21 22:36:19 +01:00