-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
80 lines (73 loc) · 1.97 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = "microkanren"
version = "0.4.4"
authors = [
{ name="Joshua Munn", email="[email protected]" },
]
description = "A Python implementation of microkanren extended with constraints"
readme = "README.md"
requires-python = ">=3.11,<3.13"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
]
dependencies = [
"pyrsistent >= 0.19, < 1",
"fastcons == 0.4.1",
"immutables >= 0.19, < 1",
]
license = {file = "LICENSE"}
[project.urls]
"Homepage" = "https://github.com/jams2/microkanren"
"Bug Tracker" = "https://github.com/jams2/microkanren/issues"
[project.optional-dependencies]
dev = ["ruff == 0.1.2"]
testing = ["tox == 4.11.3", "pytest == 7.2.2", "pytest-profiling == 1.7.0"]
build = ["hatch == 1.7.0"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
pythonpath = ["src"]
minversion = 7.0
[tool.ruff]
line-length = 88
src = ["src", "tests"]
target-version = "py311"
select = [
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"PGH", # pygrep-hooks
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"ARG", # unused arguments
"PT", # pytest style
"T10", # flake8-debugger
"C4", # flake8-comprehensions
"RUF100", # unused-noqa
"S", # flake8-bandit
"T20", # flake8-print
"W", # pycodestyle warnings
"YTT", # flake8-2020
]
unfixable = [
"ARG", # unused arguments
]
ignore = [
"S101", # Use of `assert`
"E501", # line-too-long (conflicts with formatter)
"W191", # tab-indentation (conflicts with formatter)
]
[isort]
known-first-party = ["microkanren"]
lines-between-types = 1
lines-after-imports = 2
[tool.pyright]
pythonVersion = "3.11"
stubPath = ""