Skip to content

Commit

Permalink
Remove flask examples (pyvista#4299)
Browse files Browse the repository at this point in the history
  • Loading branch information
banesullivan authored Apr 19, 2023
1 parent 7efb8ea commit 977c423
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 355 deletions.
1 change: 0 additions & 1 deletion .codacy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
exclude_paths:
- "examples/**/*"
- "examples_flask/**/*"
- "examples_trame/**/*"
- "tests/*"
- "tests/**/*"
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
documentation:
- doc/**/*
- examples/**/*
- examples_flask/**/*
- examples_trame/**/*
- ./*.md
maintenance:
- .github/**/*
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repos:
hooks:
- id: codespell
args: [
"doc examples examples_flask examples_trame pyvista tests",
"doc examples examples_trame pyvista tests",
"*.py *.rst *.md",
]
additional_dependencies: [
Expand Down Expand Up @@ -66,7 +66,7 @@ repos:
rev: v1.2.0
hooks:
- id: mypy
exclude: ^(doc/|tests/|examples/|pyvista/ext/|examples_flask/)
exclude: ^(doc/|tests/|examples/|pyvista/ext/|examples_trame/)
additional_dependencies: [
"mypy-extensions==1.0.0",
"toml==0.10.2",
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Simple makefile to simplify repetitive build env management tasks under posix

# Directories to run style checks against
CODE_DIRS ?= doc examples examples_flask pyvista tests
CODE_DIRS ?= doc examples examples_trame pyvista tests
# Files in top level directory
CODE_FILES ?= *.py *.rst *.md

Expand Down
59 changes: 0 additions & 59 deletions doc/source/extras/flask.rst

This file was deleted.

5 changes: 1 addition & 4 deletions doc/source/extras/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ just running it from a Python console or IDE. For example, you can
package PyVista in a docker image and build VTK with EGL to enable
rich headless plotting on remote servers. You can also package
PyVista using `pyinstaller`_ to be used within a standalone
application. You could even make a basic web application using
`flask`_.
application.

See the :ref:`ref_developer_notes` section for details on contributing
and how you can help develop PyVista.
Expand All @@ -16,12 +15,10 @@ and how you can help develop PyVista.
building_vtk
docker
pyinstaller
flask
developer_notes
plot_directive
pytest_plugin
vtk_data
extending_pyvista

.. _pyinstaller: https://www.pyinstaller.org/
.. _flask: https://flask.palletsprojects.com/
103 changes: 0 additions & 103 deletions examples_flask/dynamic_ex/app.py

This file was deleted.

1 change: 0 additions & 1 deletion examples_flask/dynamic_ex/requirements.txt

This file was deleted.

84 changes: 0 additions & 84 deletions examples_flask/dynamic_ex/templates/index.html

This file was deleted.

61 changes: 0 additions & 61 deletions examples_flask/static_ex/app.py

This file was deleted.

1 change: 0 additions & 1 deletion examples_flask/static_ex/requirements.txt

This file was deleted.

Loading

0 comments on commit 977c423

Please sign in to comment.