-
Notifications
You must be signed in to change notification settings - Fork 60
/
pyproject.toml
95 lines (85 loc) · 2.71 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
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["setuptools>=69,<76", "wheel~=0.42", "setuptools_scm[toml]~=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "ixbrl-viewer"
dynamic = ['version']
readme = "README.md"
license = {text = "Apache-2.0"}
description = "The Arelle iXBRL Viewer allows iXBRL reports to be viewed interactively in a web browser."
authors = [
{name = "arelle.org", email = "[email protected]"}
]
keywords = ["arelle", "plugin", "xbrl"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
'Topic :: Text Processing :: Markup :: XML'
]
requires-python = ">=3.9"
dependencies = [
'lxml>=4,<6'
]
[project.optional-dependencies]
arelle = [
'arelle_release==2.*',
]
dev = [
'flake8==7.1.1',
'lxml-stubs==0.5.1',
'mypy==1.13.0',
'pytest==8.3.4',
'typing-extensions==4.12.2',
]
# https://setuptools.pypa.io/en/latest/userguide/entry_point.html#entry-points-for-plugins
[project.entry-points."arelle.plugin"]
ixbrl-viewer = "iXBRLViewerPlugin:load_plugin_url"
[project.urls]
"Homepage" = "https://arelle.org/"
"Downloads" = "https://arelle.org/arelle/pub/"
"Documentation" = "https://arelle.org/arelle/documentation/"
"Blog" = "https://arelle.org/arelle/blog/"
"Source Code" = "https://github.com/Arelle/ixbrl-viewer"
"Bug Reports" = "https://github.com/Arelle/ixbrl-viewer/issues/"
"Support" = "https://groups.google.com/g/arelle-users/"
[tool.setuptools]
platforms = ["any"]
[tool.setuptools.packages.find]
namespaces = false
[tool.setuptools_scm]
tag_regex = "^(?:[\\w-]+-?)?(?P<version>[vV]?\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$"
write_to = "iXBRLViewerPlugin/_version.py"
[tool.mypy]
# Warn when a # type: ignore comment does not specify any error codes
enable_error_code = "ignore-without-code"
python_version = "3.12"
show_error_codes = true
strict = true
# --- ignore modules ---
# remove from list below as each module is updated with type hinting
[[tool.mypy.overrides]]
module = [
'iXBRLViewerPlugin',
'iXBRLViewerPlugin.iXBRLViewer',
'iXBRLViewerPlugin.ui',
'iXBRLViewerPlugin.xhtmlserialize',
]
ignore_errors = true
# --- Modules lacking stubs ---
# Add any module missing library stubs or not having
# the py.typed marker here
[[tool.mypy.overrides]]
module = [
'ttk',
'arelle.*',
]
ignore_missing_imports = true