Skip to content

Commit 57c8a33

Browse files
authored
Merge pull request #19 from QuMuLab/pysat
Add PySAT support, add .solve(), make .models() lazy
2 parents 2d163df + e623664 commit 57c8a33

File tree

15 files changed

+884
-283
lines changed

15 files changed

+884
-283
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[report]
2+
exclude_lines =
3+
pragma: no cover
4+
if t.TYPE_CHECKING:
5+
if TYPE_CHECKING:

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This will install and run all the tooling.
1212

1313
`tox` aborts early if one of the steps fails. To run just the tests (for example if you can't get `mypy` to work), install and run [`pytest`](https://docs.pytest.org/en/latest/getting-started.html). To run just one particular test, run `pytest -k <name of test>`.
1414

15+
To gather coverage information you can install `pytest-cov` and run `pytest --cov=nnf` followed by `coverage html`. This will generate a coverage report in a `htmlcov/` directory.
16+
1517
## Mypy
1618

1719
[Mypy](https://mypy.readthedocs.io/en/stable/) is used for static typing. This is also managed by `tox`.

docs/nnf.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,11 @@ nnf.kissat module
5959
:members:
6060
:undoc-members:
6161
:show-inheritance:
62+
63+
nnf.pysat module
64+
-----------------
65+
66+
.. automodule:: nnf.pysat
67+
:members:
68+
:undoc-members:
69+
:show-inheritance:

0 commit comments

Comments
 (0)