diff --git a/.gitignore b/.gitignore index 21c9d6e..e013556 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__ .pre-commit-config.yaml .vscode .coverage +.hypothesis diff --git a/README.md b/README.md index fe24133..02bda04 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,5 @@ total | 1 ## todo - [x] roll with (dis)advantage -- [ ] interactive rolling mode - [x] print criticals -- [ ] use property testing +- [x] use property testing diff --git a/justfile b/justfile index 2be7b3f..b11262f 100644 --- a/justfile +++ b/justfile @@ -23,8 +23,8 @@ env: clean: hatch clean - hatch env purge - rm -r .{mypy,pytest,ruff}_cache - rm -r dist - rm .coverage + hatch env prune + -rm -r .{mypy,pytest,ruff}_cache + -rm -r dist + -rm .coverage fd __pycache__ --no-ignore --exec rm -r diff --git a/pyproject.toml b/pyproject.toml index 4459bd6..7a29e20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,7 @@ path = "roll/__about__.py" [tool.hatch.envs.default] dependencies = [ "coverage[toml]>=6.5", + "hypothesis", "pytest", ] [tool.hatch.envs.default.scripts]