-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
189 lines (173 loc) · 4.34 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
[build-system]
requires = ["setuptools",]
build-backend = "setuptools.build_meta"
[project]
name = "awesome-panel-cli"
description = "A CLI tool to speed up your workflow when developing Panel applications"
readme = "README.md"
requires-python = ">=3.7"
keywords = ["python", "holoviz", "panel", "cli", "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 = [
"cookiecutter",
"gitdir",
"rich",
"typer",
]
dynamic = ["version"]
authors = [
{name = "awesome-panel"}
]
[project.optional-dependencies]
dev = [
"autoflake",
"bandit",
"black[jupyter]",
"build",
"mypy",
"pylint",
"pylint2junit",
"pytest-cov",
"pytest-mock",
"pytest",
"toml",
"twine",
"typer[all]",
"types-invoke",
"types-requests",
"types-setuptools",
"wheel",
]
examples = [
"altair",
"hvplot",
"matplotlib",
"notebook",
"pandas",
"panel",
"vega-datasets",
]
all = [
# dev
"autoflake",
"bandit",
"black[jupyter]",
"build",
"mypy",
"pylint",
"pylint2junit",
"pytest-cov",
"pytest-mock",
"pytest",
"toml",
"twine",
"typer[all]",
"types-invoke",
"types-requests",
"types-setuptools",
"wheel",
# examples
"altair",
"hvplot",
"matplotlib",
"notebook",
"pandas",
"panel",
"vega-datasets",
]
[project.urls]
repository = "https://github.com/awesome-panel/awesome-panel-cli"
[tool.setuptools.dynamic]
version = {attr = "awesome_panel_cli.VERSION"}
[project.scripts]
pn = "awesome_panel_cli.cli.main:run"
[tool.black]
line-length = 100
extend-exclude = '''
/(
| src/awesome_panel_cli/templates
)/
'''
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
[tool.pylint.main]
ignore="templates"
py-version=3.9
output-format = "colorized"
max-attributes=12
max-args=10
[tool.pylint.format]
max-module-lines = 1000
max-line-length=100
[tool.mypy]
python_version = "3.9"
namespace_packages = true
explicit_package_bases = true
mypy_path = "src"
exclude = ["src/awesome_panel_cli/templates"]
[[tool.mypy.overrides]]
module = [
"altair.*",
"bokeh.*",
"cookiecutter.*",
"gitdir.*",
"holoviews.*",
"hvplot.*",
"pyparsing.*",
"vega_datasets.*",
]
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=["src/awesome_panel_cli/templates/*"]
[html]
directory="test_results/cov_html"
skip_empty=true
[tool.bandit]
exclude_dirs = [".venv", "venv", "templates"]
severity="high"
[tool.bandit.assert_used]
exclude = ["*_test.py", "test_*.py"]