Files
fiona-assistant/pyproject.toml
nvaldez 814bad2866 feat: add JSON linter (jsonlint) to customlinter package
- Move JSON linter from src/json_lint/json_lint.py to src/customlinter/jsonlint.py
- Use JSN prefix for violation codes (JSN001-JSN006) matching other linters
- Rename class from JSONLinter to JsonLinter for consistency
- Update all imports across codebase
- Fix inline import violations for pycustomlint
- Integrate into both sanity checkers (run_sanity.py and wiki/sanity_manager.py)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-09-28 20:55:07 +02:00

79 lines
2.1 KiB
TOML

[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[project]
name = "fiona-assistant"
version = "0.36.0"
description = "Tools for managing the LLM wiki."
authors = [{name = "nvaldeziii"}]
readme = "README.md"
license = "GPL-3.0-only"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
# Core dependencies (required for runtime)
# Note: html5validator requires Java 8+ to be installed on the system
dependencies = [
"pymarkdownlnt>=0.9.0",
"ruff>=0.16.8",
"pyyaml>=6.0.3",
"pylint",
"GitPython>=3.1.0",
"html5validator>=0.4.0",
]
# Optional dependencies groups
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock",
"build",
"twine",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
# llm-wiki is a hyphenated, non-importable data-only "package" that ships
# template files (wiki/, ingest/, AGENTS.md, etc.) as package data.
# The hyphen makes it unimportable as a Python module (import llm-wiki
# is a SyntaxError), but setuptools allows it as a distribution package name.
# The __init__.py exists only to satisfy setuptools' package detection.
include = ["fiona", "librarian", "mdoctor", "python_ruff", "customlinter", "sanity_runner", "llm-wiki", "wiki", "gittool", "html_js_lint"]
[tool.setuptools.package-data]
# Include all files under llm-wiki/ as package data (not Python code)
"llm-wiki" = ["*", "**/*"]
[tool.pytest.ini_options]
testpaths = ["src/tests"]
[tool.coverage.run]
source = ["src"]
omit = ["src/tests/*", "*/tests/*", "*/test_*.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
# Define console scripts entry points
[project.scripts]
fiona-assistant = "fiona.__main__:main"
librarian = "librarian.librarian:main"
mdoctor = "mdoctor.mdoctor:main"
html-js-lint = "html_js_lint.html_js_lint:main"