-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
149 lines (133 loc) · 3.74 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = ["setuptools",]
build-backend = "setuptools.build_meta"
[project]
name = "awesome-panel-extensions"
description = "A package of awesome Panel extensions. Provided by awesome-panel.org"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["python", "holoviz", "panel", "dataviz", "dataapp", "dashboard", "datascience", "analytics"]
license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Legal Industry",
"Intended Audience :: Other Audience",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"hvplot",
"pandas",
"panel<1.0.0",
"bokeh<3.0.0",
"lxml", # Required by the WebComponent
]
dynamic = ["version"]
authors = [
{name = "awesome-panel"}
]
[project.optional-dependencies]
dev = [
"awesome-panel-cli[dev]",
"types-PyYAML",
"types-Markdown",
]
examples = [
"altair",
"awesome-panel-cli",
"holoviews",
"hvplot",
"matplotlib",
"notebook",
"pandas-profiling",
"pandas",
"plotly",
"seaborn",
]
[project.urls]
repository = "https://github.com/awesome-panel/awesome-panel-extensions"
[tool.setuptools.dynamic]
version = {attr = "awesome_panel_extensions.VERSION"}
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
[tool.pylint.main]
py-version=3.9
output-format = "colorized"
max-attributes=12
max-args=10
[tool.pylint.format]
max-module-lines = 1000
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 100
disable = "too-many-ancestors"
[tool.mypy]
python_version = "3.9"
namespace_packages = true
explicit_package_bases = true
mypy_path = "src"
exclude = []
[[tool.mypy.overrides]]
module = [
"bokeh.*",
"holoviews.*",
"hvplot.*",
"param.*",
"pyviz_comms.*",
"altair.*",
"pandas.*",
"plotly.*",
"matplotlib.*",
"mpl_toolkits.*",
"lxml.*",
"pandas_profiling.*",
]
ignore_missing_imports = true
# https://github.com/pytest-dev/pytest/blob/main/pyproject.toml
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-s"
testpaths = ["tests"]
junit_family = "legacy"
python_files = ["tests.py","test_*.py"]
markers = [
"unittest", # Small, isolated test
"integrationtest", # A test towards some external system or service. For example a database
"functionaltest", # Large potentially non-isolated test requiring access to external services
"slow", # A slow test. Skip normally. But run this when you have the time.
"skip_in_build_server", # Tests that should be skipped on the build server
]
filterwarnings=[
"ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning",
"ignore:inspect.getargspec.*:DeprecationWarning"
]
[tool.coverage.run]
omit=[]
[html]
directory="test_results/cov_html"
skip_empty=true
[tool.bandit]
exclude_dirs = [".venv", "venv",]
severity="high"
[tool.bandit.assert_used]
exclude = ["*_test.py", "test_*.py"]