Commit graph

4904 commits

Author SHA1 Message Date
David Lord
3a35977d5f
stop ignoring flake8 e402 2023-01-19 06:35:15 -08:00
David Lord
78b42b9ac2
Merge pull request #4947 from pallets/pyproject
switch to pyproject.toml
2023-01-18 10:38:38 -08:00
David Lord
261e4a6cf2
fix flake8 bugbear errors 2023-01-18 10:32:51 -08:00
David Lord
8f13f5b6d6
update docs and examples for pyproject
setup.py -> pyproject.toml
venv -> .venv
2023-01-18 10:32:51 -08:00
David Lord
6d6d986fc5
switch to pyproject.toml 2023-01-18 10:32:51 -08:00
David Lord
9da947a279
set workflow permissions 2023-01-09 12:45:16 -08:00
David Lord
3812a52e96
Merge branch '2.2.x' 2023-01-09 12:39:48 -08:00
David Lord
4a0f658897
Merge pull request #4943 from pallets/update-python
update tested python versions
2023-01-09 10:42:14 -08:00
David Lord
2a9d16d011
update tested python versions
test 3.11 final
test 3.12 dev
update for tox 4
2023-01-09 10:37:59 -08:00
David Lord
836866dc19
Merge pull request #4935 from pgjones/subdomain
Fix subdomain inheritance for nested blueprints
2023-01-04 14:06:35 -07:00
pgjones
cabda59353 Ensure that blueprint subdomains suffix-chain
This ensures that a child's subdomain prefixs any parent subdomain
such that the full domain is child.parent.domain.tld and onwards with
further nesting. This makes the most sense to users and mimics how
url_prefixes work (although subdomains suffix).
2023-01-04 18:06:04 +00:00
Josh Michael Karamuth
d7b6c1f670 Fix subdomain inheritance for nested blueprints.
Fixes #4834
2023-01-04 16:19:52 +00:00
David Lord
fa1ee70668
Merge pull request #4933 from pallets/dependabot/github_actions/dessant/lock-threads-4
Bump dessant/lock-threads from 3 to 4
2023-01-03 08:24:17 -07:00
dependabot[bot]
bb1f83c265
Bump dessant/lock-threads from 3 to 4
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3 to 4.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v3...v4)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 16:01:00 +00:00
David Lord
74e5263c88
new run debug docs 2022-12-29 09:52:18 -08:00
David Lord
eeebb5adc7
Merge branch '2.2.x' 2022-12-29 09:51:58 -08:00
David Lord
4d69165ab6
revert run debug docs 2022-12-29 09:51:34 -08:00
David Lord
910179f9b0
Merge branch '2.2.x' 2022-12-24 15:31:07 -07:00
David Lord
229dcbb5ce
Merge pull request #4779 from greyli/add-debug-to-run
Add `--debug` option to flask run
2022-12-24 15:28:21 -07:00
Grey Li
bd26928fdb
Prefer flask run --debug in docs 2022-12-24 15:24:49 -07:00
Grey Li
4bc0e4943d
Add --debug option to flask run 2022-12-24 15:04:48 -07:00
Jonah Lawrence
79032ca5f1
Add .svg to select_jinja_autoescape (#4840)
As SVG files are a type of XML file and are similar in nearly
all aspects to XML, .svg should also be autoescaped.
2022-12-24 11:27:20 -07:00
David Lord
7464e17c5e
Merge branch '2.2.x' 2022-12-24 11:21:59 -07:00
David Lord
631b6dd546
Merge pull request #4921 from ivanovmg/fix/template_folder
Allow pathlib.Path for template_folder
2022-12-24 11:20:56 -07:00
Maxim G. Ivanov
09112cfc47
template_folder type allows pathlib 2022-12-24 11:17:52 -07:00
David Lord
d9e56c7f4b
Merge pull request #4920 from ivanovmg/fix/link
Fix URL "committing as you go"
2022-12-24 11:07:46 -07:00
Maxim G. Ivanov
677a046848
Fix URL "committing as you go" 2022-12-24 11:03:47 -07:00
David Lord
d8fe178aa6
Merge pull request #4920 from ivanovmg/fix/link
Fix URL "committing as you go"
2022-12-24 10:57:53 -07:00
Maxim G. Ivanov
6fcf6d00bd
Fix URL "committing as you go" 2022-12-24 10:56:00 -07:00
David Lord
55cdb420a0
Merge pull request #4926 from pallets/docs-inheritance
python 2 style inheritance clean up from docs
2022-12-24 10:36:40 -07:00
Asif Saif Uddin
1a68768e6b
python 2 style inheritance clean up from docs 2022-12-24 10:31:23 -07:00
David Lord
1373f70dc6
Merge pull request #4922 from pallets/update-requirements
update requirements
2022-12-24 10:25:43 -07:00
David Lord
8e3128b989
ignore flake8 b905 zip(strict=True) until python 3.10 2022-12-24 10:22:37 -07:00
David Lord
43bc7330ce
update requirements 2022-12-24 10:22:37 -07:00
Grey Li
d36a379a0f
Merge pull request #4913 from ivanovmg/fix/var-name 2022-12-22 21:48:45 +08:00
Maxim G. Ivanov
43ef559de3 Fix varname in docs 2022-12-22 21:28:18 +08:00
David Lord
dcdcac2f3a
Merge pull request #4907 from rayanth/patch-1
Update api.rst
2022-12-13 16:36:49 -08:00
rayanth
95b666871c
Update api.rst
Corrected typo in "tojson" example, `const names = {{ names|tojson }};` was `const names = {{ names|tosjon }};`
2022-12-13 13:27:38 -08:00
Grey Li
3d4acf0ca0
Merge pull request #4899 from pallets/pre-commit-ci-update-config 2022-12-10 13:42:03 +08:00
pre-commit-ci[bot]
3e932aa103
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.2.2 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.2...v3.3.0)
2022-12-06 00:34:53 +00:00
David Lord
b5ec83b697
Merge pull request #4882 from Abdur-rahmaanJ/patch-4
Fix backtick not rendering.
2022-11-27 06:51:08 -08:00
David Lord
29697fffb4
Merge pull request #4883 from Dosenpfand/doc-extension-dev-2.2.x
Documentation: Fix class-based views example for Extension Development
2022-11-27 06:50:46 -08:00
Dosenpfand
9a294a6401 Fix class-based views example 2022-11-27 13:10:14 +01:00
Abdur-Rahmaan Janhangeer
d951a763fb
Fix backstick not rendering. 2022-11-27 13:51:09 +04:00
David Lord
066a35dd32
Merge branch '2.2.x' 2022-11-25 07:51:37 -08:00
David Lord
618fdc8600
Merge pull request #4879 from pallets/requirements
update requirements
2022-11-25 07:43:46 -08:00
David Lord
d178653b5f
update requirements 2022-11-25 07:39:54 -08:00
pre-commit-ci[bot]
9f99425aaf
[pre-commit.ci] pre-commit autoupdate (#4862)
updates:
- [github.com/peterdemin/pip-compile-multi: v2.4.6 → v2.5.0](https://github.com/peterdemin/pip-compile-multi/compare/v2.4.6...v2.5.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-07 20:38:32 -08:00
Grey Li
35c6595202
Merge pull request #4858 from pallets/pre-commit-ci-update-config 2022-11-01 09:41:21 +08:00
pre-commit-ci[bot]
9daddd1271
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.38.2 → v3.2.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.2.0)
- [github.com/asottile/reorder_python_imports: v3.8.3 → v3.9.0](https://github.com/asottile/reorder_python_imports/compare/v3.8.3...v3.9.0)
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)
2022-11-01 00:06:23 +00:00