-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (111 loc) · 3.11 KB
/
Copy pathpyproject.toml
File metadata and controls
122 lines (111 loc) · 3.11 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
requires = ["setuptools>=77.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "easa-erules"
version = "0.3.0"
description = "Deterministic toolkit for EASA Easy Access Rules (EAR) XML: fetch, parse, convert, search, extract for humans and LLM agents"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "EASA eRules Contributors"},
]
keywords = [
"easa",
"aviation",
"airworthiness",
"regulations",
"easy-access-rules",
"erules",
"xml",
"ooxml",
"markdown",
"cli",
"llm",
"fts5",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Legal Industry",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
"Topic :: Utilities",
"Typing :: Typed",
]
dependencies = [
"lxml>=4.9.0",
"typer>=0.9.0",
"rich>=13.0.0",
"pyyaml>=6.0",
"httpx>=0.24.0",
]
[project.optional-dependencies]
mcp = [
"mcp>=2.0.0",
]
dev = [
"pytest>=7.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"types-pyyaml",
"types-lxml",
"build>=1.0.0",
"twine>=5.0.0",
]
[project.urls]
Homepage = "https://github.com/mrSpringpeace/easa-erules"
Repository = "https://github.com/mrSpringpeace/easa-erules"
Issues = "https://github.com/mrSpringpeace/easa-erules/issues"
Changelog = "https://github.com/mrSpringpeace/easa-erules/blob/main/CHANGELOG.md"
Documentation = "https://github.com/mrSpringpeace/easa-erules/blob/main/docs/MANUAL.md"
[project.scripts]
easa-erules = "easa_erules.cli:app"
easa-erules-mcp = "easa_erules.mcp_server:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
easa_erules = ["sources/*.yaml", "py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"real_sample: requires a real EASA publication under tests/real_samples/ (see fetch_samples.py)",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
# Focus CI on real defects; style cleanup can proceed incrementally.
select = ["E4", "E7", "E9", "F", "I"]
ignore = [
"E501", # line length
]
[tool.mypy]
python_version = "3.11"
strict = true
# These pre-0.3 modules dynamically mirror lxml/AST variants and are being
# migrated incrementally. New 0.3 application, navigation, relation, inventory,
# memory and search modules remain under strict checking.
[[tool.mypy.overrides]]
module = [
"easa_erules.adapters.faa",
"easa_erules.cli",
"easa_erules.input.*",
"easa_erules.model.assets",
"easa_erules.model.node",
"easa_erules.parser.*",
"easa_erules.render.json",
"easa_erules.render.markdown",
"easa_erules.sources.registry",
]
ignore_errors = true