18 Commits

Author SHA1 Message Date
Sebastian Thiel
8a12e9d47e fix python
Maybe it now works on CI as well?
2024-03-05 19:07:36 +01:00
Sebastian Thiel
dc3adeaf20 release a few version constraints which seems to fix the python initialization locally
One may hope that doc generation still works if needed.
2023-08-23 08:17:22 +02:00
Sebastian Thiel
b53ba5efec Fix make to live another day 2023-04-17 14:36:29 +02:00
Gary Coady
bd24ea872a Improve handling of plurals in generator.
The generator tries to turn plural into singular nouns.
However, some words turn out badly, including:
 - Addresse (from Addresses)
 - Prefixe (from Prefixes)
 - Bookshelve (from Bookshelves)
 - Sery (from Series)

By using a library, we can get a slightly better outcome.
I've added an exception for "Data", because seeing that
turned into "Datum" is a bit jarring.
2022-11-29 22:51:05 +01:00
philippeitis
cac4666204 Remove breaking changes, add TODOs 2022-09-24 11:55:55 -07:00
dependabot[bot]
d87ab9df23 Bump mako from 1.1.4 to 1.2.2
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.1.4 to 1.2.2.
- [Release notes](https://github.com/sqlalchemy/mako/releases)
- [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/mako/commits)

---
updated-dependencies:
- dependency-name: mako
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 17:50:54 +00:00
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