|
5 | 5 | sys.path.insert(0, os.path.abspath('_ext')) |
6 | 6 |
|
7 | 7 | import os |
| 8 | + |
8 | 9 | import param |
9 | 10 | import pydata_sphinx_theme |
10 | 11 |
|
11 | 12 | param.parameterized.docstring_signature = False |
12 | 13 | param.parameterized.docstring_describe_params = False |
13 | 14 |
|
14 | | -import hvplot # noqa |
15 | | -from nbsite.shared_conf import * # noqa |
| 15 | +from nbsite.shared_conf import * # noqa: E402, F403 |
| 16 | + |
| 17 | +import hvplot # noqa: E402 |
16 | 18 |
|
17 | 19 | project = 'hvPlot' |
18 | 20 | authors = 'HoloViz developers' |
19 | | -copyright_years['start_year'] = '2016' # noqa |
20 | | -copyright = copyright_fmt.format(**copyright_years) # noqa |
| 21 | +copyright_years['start_year'] = '2016' # noqa: F405 |
| 22 | +copyright = copyright_fmt.format(**copyright_years) # noqa: F405 |
21 | 23 | description = 'A high-level plotting API for the PyData ecosystem built on HoloViews' |
22 | 24 |
|
23 | | -version = release = base_version(hvplot.__version__) # noqa |
| 25 | +version = release = base_version(hvplot.__version__) # noqa: F405 |
24 | 26 | nbbuild_cell_timeout = 600 |
25 | 27 |
|
26 | 28 | # Useful for SEO on a versioned site |
27 | 29 | html_baseurl = 'https://hvplot.holoviz.org/en/docs/latest/' |
28 | 30 |
|
29 | 31 | exclude_patterns = ['governance'] |
30 | 32 |
|
31 | | -html_static_path += ['_static'] # noqa |
| 33 | +html_static_path += ['_static'] # noqa: F405 |
32 | 34 |
|
33 | 35 | if pydata_sphinx_theme.__version__ == '0.16.1': |
34 | 36 | # See https://github.com/pydata/pydata-sphinx-theme/issues/2088 |
35 | | - templates_path.append('_static/patch_templates') # noqa |
| 37 | + templates_path.append('_static/patch_templates') # noqa: F405 |
36 | 38 |
|
37 | | -html_css_files += ['custom.css'] # noqa |
| 39 | +html_css_files += ['custom.css'] # noqa: F405 |
38 | 40 |
|
39 | 41 | html_js_files = [ |
40 | 42 | 'https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js', |
|
44 | 46 | if any(pr in hvplot.__version__ for pr in ('a', 'b', 'rc', 'dev')) |
45 | 47 | else version |
46 | 48 | ) |
47 | | -html_theme_options.update( # noqa |
| 49 | +html_theme_options.update( # noqa: F405 |
48 | 50 | { |
49 | 51 | 'navbar_start': ['navbar-logo', 'version-switcher'], |
50 | 52 | 'use_edit_page_button': True, |
|
67 | 69 | }, |
68 | 70 | ], |
69 | 71 | 'pygments_dark_style': 'material', |
70 | | - 'announcement': "hvPlot 0.12 has just been released! Checkout the <a href='https://blog.holoviz.org/posts/hvplot_release_0.12/'>blog post</a> and support hvPlot by giving it a 🌟 on <a href='https://github.com/holoviz/hvplot'>Github</a>.", |
| 72 | + 'announcement': "hvPlot 0.12 has just been released! Checkout the <a href='https://blog.holoviz.org/posts/hvplot_release_0.12/'>blog post</a> and support hvPlot by giving it a 🌟 on <a href='https://github.com/holoviz/hvplot'>Github</a>.", # noqa: E501 |
71 | 73 | 'switcher': { |
72 | 74 | 'json_url': 'https://hvplot.holoviz.org/switcher.json', |
73 | 75 | 'version_match': switcher_version, |
|
83 | 85 | html_logo = '_static/logo_horizontal.svg' |
84 | 86 | html_favicon = '_static/favicon.ico' |
85 | 87 |
|
86 | | -extensions += [ # noqa |
| 88 | +extensions += [ # noqa: F405 |
87 | 89 | 'sphinx.ext.autosummary', |
88 | 90 | 'nbsite.gallery', |
89 | 91 | 'nbsite.analytics', |
|
175 | 177 |
|
176 | 178 | html_extra_path = ['topics.html'] |
177 | 179 |
|
178 | | -html_context.update( # noqa |
| 180 | +html_context.update( # noqa: F405 |
179 | 181 | { |
180 | 182 | 'last_release': f'v{release}', |
181 | 183 | 'default_mode': 'light', |
|
216 | 218 | 'reference/tabular/lagplot': 'ref/api/manual/hvplot.plotting.lag_plot', |
217 | 219 | 'reference/tabular/line': 'ref/api/manual/hvplot.hvPlot.line', |
218 | 220 | 'reference/tabular/ohlc': 'ref/api/manual/hvplot.hvPlot.ohlc', |
219 | | - 'reference/tabular/parallelcoordinates': 'ref/api/manual/hvplot.plotting.parallel_coordinates', |
| 221 | + 'reference/tabular/parallelcoordinates': 'ref/api/manual/hvplot.plotting.parallel_coordinates', # noqa: E501 |
220 | 222 | 'reference/tabular/scatter': 'ref/api/manual/hvplot.hvPlot.scatter', |
221 | 223 | 'reference/tabular/scattermatrix': 'ref/api/manual/hvplot.plotting.scatter_matrix', |
222 | 224 | 'reference/tabular/step': 'ref/api/manual/hvplot.hvPlot.step', |
|
294 | 296 | } |
295 | 297 |
|
296 | 298 | # To avoid this warning |
297 | | -# hvplot/ui.py:docstring of hvplot.ui.hvPlotExplorer:43: WARNING: autosummary: stub file not found 'hvplot.ui.hvPlotExplorer.hvplot'. Check your autosummary_generate setting. |
| 299 | +# hvplot/ui.py:docstring of hvplot.ui.hvPlotExplorer:43: WARNING: autosummary: stub file not found 'hvplot.ui.hvPlotExplorer.hvplot'. Check your autosummary_generate setting. # noqa: E501 |
298 | 300 | # See https://stackoverflow.com/a/73294408 |
299 | 301 | numpydoc_class_members_toctree = False |
300 | 302 |
|
|
0 commit comments