Skip to content

Commit

Permalink
chore(v3): create ffi.py
Browse files Browse the repository at this point in the history
Import close to 400 functions exposed by the Rust library into the
`ffi.py` file. All of them (save `version`) solely raise a
`NotImplementedError`. The documentation of the functions has been
automatically imported from the exposed docstring by the `pact.h`
header.

Some more minor changes includes:

- Adding the `py.typed` marker file (see [PEP
  561](https://peps.python.org/pep-0561/))
- Move all tests relating to `v3` into `tests/v3`
- Minor fixes toe the `ruff.toml` lint rules for tests
- Update type dependencies

Signed-off-by: JP-Ellis <josh@jpellis.me>
  • Loading branch information
JP-Ellis committed Oct 6, 2023
1 parent 99f7657 commit efa3c15
Show file tree
Hide file tree
Showing 5 changed files with 6,093 additions and 7 deletions.
Loading

0 comments on commit efa3c15

Please sign in to comment.