-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (64 loc) · 1.68 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
[tool.poetry]
name = "termwiki"
version = "0.2.0"
description = "Personal knowledge management tool for the terminal, with a focus on zero-thought, zero-wait when getting to the bit you're interested in."
authors = ["Gilad Barnea <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
click = "^8.0.3"
fuzzysearch = { version = "^0.7.3", optional = true }
Pygments = "^2.10.0"
rich = "^13"
more-termcolor = "^1.1.3"
# prompt-toolkit = "latest"
# pytest = "^7.1.2"
#lark = { path = "../lark", develop=true }
# markdown-it-py = { path ="../markdown-it-py", develop=true }
types-Pygments = "^2.13.0"
pydantic = "^1.10.2"
asttokens = "^2.0.8"
[tool.poetry.scripts]
tw = 'termwiki.cli:main'
[tool.poetry.build]
generate-setup-file = true
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
ipython = "^8.4.0"
ipython-autoimport = "^0.4"
jupyterlab = "^4.0.0"
pdbpp = { path = "../pdbpp/", develop = true }
pytest-cov = "^4.0.0"
black = "^23.0.0"
# appmap = "^1.5.1"
#astload = "^0" # tree from ast.dump. what about ast.unparse?
#asteria = "^0" # 'parentize' for .left .parent .child etc
#astroid = "latest"
# - pylint backend
# - repr_tree() lots of meta data
# - .left
# - extract_node("a=1; b=2; c=a+b; c") -> node
# - next(name_node.infer()).value == 3
#asttokens = "latest"
# - get_text()
# - .last_token, .first_token
#astor = "latest"
# - round-trip ast <-> code
# - more readable dump
# - modify nodes
[tool.black]
line-length = 100
skip-magic-trailing-comma = true
preview = true
include = '\.pyi?$'
extend-exclude = '''
(
/test/data/
| /private_pages/
| /fuzzyui/
| /rapidfuzz/
)
'''
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"