-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
75 lines (66 loc) · 1.73 KB
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
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "fimpad"
version = "0.0.30"
description = "FIMpad is a FIM-focused local LLM interface in the form of a tabbed GUI text editor. "
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "David K Rockwood" }]
keywords = ["llm", "fim", "editor"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"requests>=2.32",
"pyenchant>=3.2.2",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"ruff>=0.6",
"mypy>=1.11",
"pre-commit>=4",
"pyinstaller>=6.10",
"pyenchant>=3.2.2",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# Core rule sets:
# E/W = pycodestyle, F = pyflakes, I = isort, B = bugbear, UP = pyupgrade, SIM = flake8-simplify
select = ["E", "W", "F", "I", "B", "UP", "SIM"]
# Anything Ruff *can* fix, go ahead and fix it:
fixable = ["ALL"]
# Keep this list short; add only rules you truly want to ignore everywhere.
ignore = []
# Optional: project-wide relaxations for specific paths
[tool.ruff.lint.per-file-ignores]
# Tests often use asserts, reimports, etc.
"tests/**/*" = ["S101", "F401"]
# Example: allow long lines in docs or CI files
"README.md" = ["E501"]
".github/**" = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
[tool.mypy]
python_version = "3.10"
pretty = true
warn_unused_ignores = true
strict = false
[tool.hatch.build]
include = [
"fimpad/library/**/*.md",
"fimpad/library/**/*.txt",
"fimpad/resources/fimpad.png",
"fimpad/resources/fimpad.ico",
]
[project.scripts]
fimpad = "fimpad.app:main"