Commit graph

3996 commits

Author SHA1 Message Date
Grey Li
f4861793fd Fix bad intersphinx link 2020-08-07 19:01:42 +08:00
dependabot-preview[bot]
8ec25db0cc Merge pull request #3716 from pallets/dependabot/pip/pip-tools-5.3.1 2020-08-03 09:03:22 +00:00
dependabot-preview[bot]
73fa742272 Bump pip-tools from 5.3.0 to 5.3.1
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/pip-tools/compare/5.3.0...5.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:00:22 +00:00
David Lord
3b264521b5 Merge pull request #3709 from MLH-Fellowship/3215-flask-blueprint
Common API Between Flask + Blueprint
2020-08-01 07:48:57 -07:00
yk396
a37cbe4fbb extract common Flask/Blueprint API to Scaffold base class
Co-authored-by: Chris Nguyen <chrisngyn99@gmail.com>
2020-08-01 07:45:58 -07:00
dependabot-preview[bot]
1479fa1f56 Merge pull request #3713 from pallets/dependabot/pip/pytest-6.0.1 2020-07-31 08:45:49 +00:00
dependabot-preview[bot]
db39512493 Bump pytest from 6.0.0 to 6.0.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-31 08:43:34 +00:00
David Lord
d8a24a2adb Merge pull request #3711 from pallets/cli-loading-error
cleaner message when CLI can't load app
2020-07-30 18:48:45 -07:00
David Lord
8b9128ee06 cleaner message when CLI can't load app
When loading the app fails for the --help command, only the error
message is shown, then the help text. The full traceback is shown for
other exceptions. Also show the message when loading fails while
getting a command, instead of only "command not found". The error
message goes to stderr to match other error behavior, and is in red
with an extra newline to make it more obvious next to the help text.

Also fixes an issue with the test_apps fixture that caused an imported
app to still be importable after the test was over and the path was
reset. Now the module cache is reset as well.
2020-07-30 18:36:55 -07:00
dependabot-preview[bot]
cdedb8f98e Merge pull request #3706 from pallets/dependabot/pip/tox-3.18.1 2020-07-29 08:40:48 +00:00
dependabot-preview[bot]
27e9fe5a87 Bump tox from 3.18.0 to 3.18.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.18.0 to 3.18.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.18.0...3.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 08:37:24 +00:00
dependabot-preview[bot]
9910c2410f Merge pull request #3705 from pallets/dependabot/pip/pytest-6.0.0 2020-07-29 08:32:40 +00:00
dependabot-preview[bot]
92872620d9 Bump pytest from 5.4.3 to 6.0.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.4.3 to 6.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.4.3...6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 08:29:51 +00:00
David Lord
ee7d80bb55 Merge pull request #3699 from MartinThoma/style
remove unnecessary docstrings from tests
2020-07-28 19:44:23 -07:00
David Lord
9a960a4ff0 Merge pull request #3669 from ebonnecab/error-docs
Error Docs Revision/Consolidation
2020-07-28 14:17:36 -07:00
David Lord
6a152a111c rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
David Lord
998ef2208c reduce section on http status codes
formatting in sentry section
2020-07-28 11:07:02 -07:00
David Lord
018e1060af adjust header levels and spacing
use code-block consistently
2020-07-28 10:46:22 -07:00
David Lord
7044235c78 rewrite external debuggers section 2020-07-28 07:59:19 -07:00
David Lord
28119de5ee normalize sentence spacing 2020-07-28 07:57:24 -07:00
David Lord
f8aec17365 Merge pull request #3704 from jackwardell/no-self-required
swapping self.assert_equal for assert
2020-07-28 07:10:13 -07:00
jackwardell
5653184b1f swapping self.assert_equal for assert
self.assert_equal is not in a class and is ambiguous. Beginners might copy and paste this example and not understand it.
2020-07-28 14:23:00 +01:00
dependabot-preview[bot]
0d6607a1a4 Merge pull request #3702 from pallets/dependabot/pip/pip-tools-5.3.0 2020-07-27 08:34:35 +00:00
dependabot-preview[bot]
7a4fe92a20 Bump pip-tools from 5.2.1 to 5.3.0
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/pip-tools/compare/5.2.1...5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 08:31:10 +00:00
Martin Thoma
090c9e9a81 DOC: Remove unnecessary docstrings 2020-07-26 15:47:12 +02:00
Ebonne Cabarrus
13b0a37b5e more changes to consolidated error handling docs 2020-07-24 09:25:07 -07:00
David Lord
432b7cab6f Merge pull request #3594 from jackwardell/consolidating-error-pages-docs
consolidate error handling docs
2020-07-24 09:23:20 -07:00
jackwardell
79bd55cedf consolidate error handling docs
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
dependabot-preview[bot]
fc36404148 Merge pull request #3695 from pallets/dependabot/pip/tox-3.18.0 2020-07-24 08:03:51 +00:00
dependabot-preview[bot]
4a2175c19e Bump tox from 3.17.1 to 3.18.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.17.1 to 3.18.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.17.1...3.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 08:01:01 +00:00
David Lord
0ce6118fb8 Merge pull request #3684 from MLH-Fellowship/3628-duplicate-headers
make_response uses headers.update
2020-07-23 16:57:19 -07:00
Christopher Nguyen
95653896a4 change make_response to use headers.update 2020-07-23 16:53:39 -07:00
David Lord
98e5b18381 Merge pull request #3694 from pallets/disable-lowest
remove lowest version test until next release
2020-07-23 16:52:52 -07:00
David Lord
8222636c6e remove lowest version test until next release
The next major release will depend on the next major releases of all
the other libraries, which is equivalent to devel right now.
2020-07-23 16:50:00 -07:00
Grey Li
badc22a002 Merge pull request #3691 from greyli/update-discord-links
Update Discord invite links
2020-07-21 12:16:19 +08:00
Grey Li
ee1df9803e Update Discord invite links 2020-07-21 12:11:17 +08:00
Joshua Bronson
06f7f34d76 Merge pull request #3560 from greyli/fix-env-chdir
Stop change CWD to .env/.flaskenv location
2020-07-18 13:14:09 -04:00
dependabot-preview[bot]
8e74a2a07f Merge pull request #3687 from pallets/dependabot/pip/tox-3.17.1 2020-07-16 08:23:45 +00:00
dependabot-preview[bot]
0c2a9e0a7d Bump tox from 3.17.0 to 3.17.1
Bumps [tox](https://github.com/tox-dev/tox) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.17.0...3.17.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 08:21:32 +00:00
dependabot-preview[bot]
8dba1978f7 Merge pull request #3686 from pallets/dependabot/pip/tox-3.17.0 2020-07-15 08:11:44 +00:00
dependabot-preview[bot]
f363429764 Bump tox from 3.16.1 to 3.17.0
Bumps [tox](https://github.com/tox-dev/tox) from 3.16.1 to 3.17.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/3.17.0/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.16.1...3.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 08:08:41 +00:00
David Lord
e463ade7c5 Merge pull request #3681 from pallets/fix-typo
fix typo
2020-07-08 08:36:14 -07:00
David Lord
0c8c96122b fix typo 2020-07-08 08:26:21 -07:00
David Lord
33bcc0d36f Merge pull request #3680 from pallets/feature/doc-fixes
Some small doc fixes
2020-07-08 06:56:11 -07:00
Armin Ronacher
40d6d107c5 Some small doc fixes 2020-07-08 15:53:43 +02:00
Joshua Bronson
5fe1f20640 Merge pull request #3579 from jab/pathlib-for-static_folder
Officially support using pathlib.Path for static_folder.
2020-07-06 13:45:03 -04:00
Joshua Bronson
f81846c68b Restore support for using pathlib.Path for static_folder.
* No longer causes AttributeError: 'PosixPath' object has no
  attribute 'rstrip'.

* This was broken by e6178fe489
  which was released in 1.1.2.

* Add a regression test that now passes.

See #3557.
2020-07-06 08:55:19 -04:00
dependabot-preview[bot]
ab4f74e424 Merge pull request #3677 from pallets/dependabot/pip/sphinx-3.1.2 2020-07-06 08:45:55 +00:00
dependabot-preview[bot]
4102865aba Bump sphinx from 3.1.1 to 3.1.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:43:21 +00:00
dependabot-preview[bot]
b41181bc28 Merge pull request #3676 from pallets/dependabot/pip/python-dotenv-0.14.0 2020-07-06 08:41:38 +00:00