forked from ggozad/oterm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (77 loc) · 2.07 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
81
82
83
84
[tool.poetry]
name = "oterm"
version = "0.1.22"
description = "A text-based terminal client for Ollama."
authors = ["Yiorgis Gozadinos <[email protected]>"]
homepage = "https://github.com/ggozad/oterm"
repository = "https://github.com/ggozad/oterm"
license = "MIT"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
[tool.poetry.scripts]
oterm = "oterm.cli.oterm:cli"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/ggozad/oterm/issues"
[tool.poetry.dependencies]
python = "^3.10"
textual = "^0.47.1"
typer = "^0.9.0"
python-dotenv = "^1.0.0"
httpx = "^0.25.0"
aiosql = "^9.2"
aiosqlite = "^0.19.0"
pyperclip = "^1.8.2"
packaging = "^23.2"
rich-pixels = "^2.2.0"
pillow = "^10.2.0"
aiohttp = "^3.9.1"
[tool.poetry.group.dev.dependencies]
pdbpp = "^0.10.3"
ruff = "^0.1.11"
black = "^23.12.1"
pytest = "^7.4.4"
pytest-asyncio = "^0.23.3"
textual-dev = "^1.4.0"
[tool.black]
line-length = 88
target-versions = ["py310"]
[tool.ruff]
line-length = 88
# Enable Flake's "E" and "F" codes by default and "I" for sorting imports.
select = ["E", "F", "I"]
ignore = ["E501", "E741"] # E741 should not be ignored
# Exclude a variety of commonly ignored directories.
exclude = [
".direnv",
".eggs",
".git",
".mypy_cache",
".ruff_cache",
".venv",
"__pypackages__",
".cache",
"_build",
"build",
"dist",
"venv",
]
per-file-ignores = { "__init__.py" = ["F401", "F403"] }
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.10.
target-version = "py310"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"