-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (63 loc) · 1.63 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
[project]
name = "just-solve-it"
dynamic = ["version"]
description = "just solve it - a command line tool to run multiple SMT (Satisfiability Modulo Theories) solvers in parallel"
authors = [
{ name = "karmacoma", email = "karma@a16z.com" },
{ name = "a16z crypto research lab", email = "crypto-research-lab@a16z.com" },
]
dependencies = [
"pyright>=1.1.378",
"rich>=13.8.1",
"python-daemon>=3.0.1",
]
readme = "README.md"
requires-python = ">= 3.11"
[project.scripts]
jsi = 'jsi:main'
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.rye]
managed = true
# switch to true to generate cross-platform lockfiles when we support Windows
# which we don't
universal = false
dev-dependencies = [
"pyright>=1.1.377",
"pytest>=8.3.2",
"click>=8.1.7",
]
[tool.pdm.version]
source = "scm"
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = [
"A", # warn about shadowing built-ins
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM",# flake8-simplify
"I", # isort
"N", # naming
"W", # warnings
]
[tool.ruff.lint.isort]
known-first-party = ["jsi"]
[tool.pyright]
venvPath = "." # rye installs the venv in the current dir
venv = ".venv" # in a folder called `.venv`
strict = ["**/*.py"] # use 'strict' checking on all files
pythonVersion = "3.11"
[tool.rye.scripts]
fmt = "rye fmt"
lint = "rye lint --fix"
check = "pyright"
test = "rye test"
all = { chain = ["fmt", "lint", "check", "test"] }
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]