Skip to content

Commit

Permalink
Bump version → 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jams2 committed Apr 10, 2023
1 parent 68fa596 commit 3585cd8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Due to the differences between Python and the reference implementation languages
+ [The result type and multiple top-level variables](#the-result-type-and-multiple-top-level-variables)
+ [Defining goal constructors](#defining-goal-constructors)
- [Recursive goal constructors and `snooze` (Zzz)](#recursive-goal-constructors-and--snooze---zzz-)
* [Developing microkanren](#developing-microkanren)

## Installation

Expand Down Expand Up @@ -146,6 +147,22 @@ We provide `snooze` to delay the construction of a goal until it is needed. Usin
'🍕'
```

## Developing microkanren

`microkanren` currently requires Python 3.11.

1. `git clone [email protected]:jams2/microkanren.git`
2. `pip install -e .[dev,testing]`

Run the tests with `pytest`.

Format code with `black` and `ruff`:

``` bash
black .
ruff check --fix src tests
```

---

[^1]: [μKanren: A Minimal Functional Core for Relational Programming (Hemann & Friedman, 2013)](http://webyrd.net/scheme-2013/papers/HemannMuKanren2013.pdf)
Expand Down
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "microkanren"
version = "0.2.2"
version = "0.3.0"
authors = [
{ name="Joshua Munn", email="[email protected]" },
]
Expand All @@ -9,6 +9,7 @@ readme = "README.md"
requires-python = "~=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
Expand All @@ -17,6 +18,7 @@ dependencies = [
"pyrsistent ~= 0.19",
"fastcons ~= 0.2.0",
]
license = {file = "LICENSE"}

[project.urls]
"Homepage" = "https://github.com/jams2/microkanren"
Expand All @@ -40,6 +42,7 @@ minversion = 7.0
[tool.ruff]
line-length = 88
src = ["src", "tests"]
target-version = "py311"
select = [
"E", # pycodestyle
"F", # pyflakes
Expand All @@ -50,7 +53,10 @@ select = [
"T10", # flake8-debugger
"C4", # flake8-comprehensions
]
unfixable = [
"ARG", # unused arguments
]

[tool.pyright]
pythonVersion = "3.10"
pythonVersion = "3.11"
stubPath = ""

0 comments on commit 3585cd8

Please sign in to comment.