Added: complete test framework, using pytest and Mkdocs-Test (#244)
A number of automated test cases are implemented.
Changed: move from setup.py to pyproject.toml (#250)
1.2.0, 2024-09-15
Added: three hooks register_variables/macros/filters to facilitate
cooperation with other MkDocs plugins.
Fixed: `define_env() was always required in module (#191)
Added: trace the case when no module is found (INFO)
Improved documentation, particularly about HTML pages
Added: parameters j2_comment_start_string and
j2_comment_end_string to plugin's parameters,
to specify alternate markers for comments.
Added the multiline parameter force_render_paths in the config file,
to specify directories or file patterns to be rendered for the case when render_by_default = false
(the render_macros parameter in the YAML header of the page
has the last word).
Fixed: Warning due to filter issue with mkdocs >= 1.5
Fixed: Debug html tables (including for macro_info()) are
now readable also in dark mode.
1.0.2, 2023-07-02
Added: it is now possible to use macros in page titles, in the
nav section of the yaml file, or in the level 1 titles;
the macros are correctly interpreted in the navigation part
of the page.
1.0.1, 2023-05-25
1.0.0-alpha, 2023-04-23
Improved user guide, with introduction of two new pages:
"Controlling macro rendering" and "Post production".
Fixed: (#158) In modules, on_pre_page_macros(), the env.markdown
attribute is now available to create a header or footer.
Changed: In on_post_page_macros() use env.markdown instead of
env.raw_markdown, for the same purpose.
Fix crash when showing partially analyzed type in error message (Ivan Levkivskyi, PR 17961)
Fix iteration over union (when self type is involved) (Shantanu, PR 17976)
Fix type object with type var default in union context (Jukka Lehtosalo, PR 17991)
Revert change to os.path stubs affecting use of os.PathLike[Any] (Shantanu, PR 17995)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
Ali Hamdan
Anders Kaseorg
Bénédikt Tran
Brian Schubert
bzoracler
Chelsea Durazo
Danny Yang
Edgar Ramírez Mondragón
Eric Mark Martin
InSync
Ivan Levkivskyi
Jordandev678
Katrina Connors
Kirill Podoprigora
Marc Mueller
Max Muoto
Max Murin
Michael Carlstrom
Michael I Chen
Pradyun Gedam
quinn-sasha
Raphael Krupinski
Sebastian Rittau
Shantanu
sobolevn
Soubhik Kumar Mitra
Stanislav Terliakov
wyattscarpenter
I’d also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 1.11
We’ve just uploaded mypy 1.11 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the...
_Description has been truncated_
Bumps the dependencies group in /.config with 13 updates:
43.0.1
43.0.3
1.4.1
1.5.1
3.0.1
3.0.2
1.3.5
1.3.6
9.5.40
9.5.42
1.12.1
1.12.2
1.12.0
1.12.1
10.4.0
11.0.0
0.2.8
0.2.12
0.6.9
0.7.0
4.21.2
4.23.0
2.32.0.20240914
2.32.0.20241016
20.26.6
20.27.0
Updates
cryptography
from 43.0.1 to 43.0.3Changelog
Sourced from cryptography's changelog.
Commits
c2afb4f
Backport metadata fix for vectors (#11797)9a3cdb5
43.0.2 release: fix libressl 4.0.0 (#11796)Updates
griffe
from 1.4.1 to 1.5.1Release notes
Sourced from griffe's releases.
Changelog
Sourced from griffe's changelog.
Commits
4ef4649
chore: Prepare release 1.5.13bfa401
fix: Sort Git tags usingcreatordate
field, which works with both lightweig...65e3cdb
chore: Prepare release 1.5.019f354d
feat: Allow setting and deleting parameters within containere71e541
docs: Add how-to selectively inspect objectsbc454d0
docs: Add main extensions page7486612
docs: Add mkdocstrings-python to downstream projectsaf66c98
docs: Show extensions in tables4f0463e
docs: Fix breadcrumbs3636b7d
docs: Remove sponsors only mention for griffe-pydanticUpdates
markupsafe
from 3.0.1 to 3.0.2Release notes
Sourced from markupsafe's releases.
Changelog
Sourced from markupsafe's changelog.
Commits
28ace20
release version 3.0.26b51fd8
build requires at least setuptools 70.1 (#478)99dda9f
build requires at least setuptools 70.13d8fd8c
fix version1933c4b
fix versione85aff4
relax speedups str check (#477)8cb1691
relax speedups str check4dafb7c
start version 3.1.09c44ecf
update docs build275c769
Merge branch '2.1.x' into 3.0.xUpdates
mkdocs-macros-plugin
from 1.3.5 to 1.3.6Changelog
Sourced from mkdocs-macros-plugin's changelog.
... (truncated)
Commits
3a73707
Migrate to pyproject.toml99733be
Demote info messages as debug (#248)Updates
mkdocs-material
from 9.5.40 to 9.5.42Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
f3a390e
Prepare 9.5.42 releaseade227c
Updated README.md (#7631)cc1508f
Fixed encoding of boolean attributes in privacy plugine2c621f
Fixed regression in privacy plugin5eef815
Prepare 9.5.41 release2d2e041
Updated dependencies790b0e8
JSON schema (#7622)649abd2
Fixed tooltip on logo lost on instant navigation0418a22
Updated README.md (#7618)e29e124
Fixed feedback visible on printUpdates
mkdocstrings-python
from 1.12.1 to 1.12.2Release notes
Sourced from mkdocstrings-python's releases.
Changelog
Sourced from mkdocstrings-python's changelog.
Commits
1b064a0
chore: Prepare release 1.12.273f11dc
fix: Always render cross-references outside of signaturesUpdates
mypy
from 1.12.0 to 1.12.1Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
050d12f
Bump version to 1.12.1346e370
[1.12 backport] revert os.path change (#17995)71e1f05
Fix type object with type var default in union context (#17991)34d8603
Fix iteration over union (when self type is involved) (#17976)2485bed
Use kw-only args for member access booleans (#17975)a5e9b0b
Fix crash when showing partially analyzed type in error message (#17961)4775da1
Bump version to 1.12.1+devUpdates
pillow
from 10.4.0 to 11.0.0Release notes
Sourced from pillow's releases.
... (truncated)
Changelog
Sourced from pillow's changelog.
... (truncated)
Commits
204aae6
11.0.0 version bumpf2cc87b
Update CHANGES.rst [ci skip]c855e8e
Merge pull request #8464 from radarhere/imagemath_type_hintdc37515
Merge pull request #8463 from hugovk/update-3.13-datec3d81d6
Update Python 3.13 release datea60610c
Added type hintsa5c58f2
Merge pull request #8460 from hugovk/mit-cmue74994e
Update licence to MIT-CMUb5e1115
Update CHANGES.rst [ci skip]686b5e2
Merge pull request #8392 from radarhere/tiff_seekUpdates
ruamel-yaml-clib
from 0.2.8 to 0.2.12Updates
ruff
from 0.6.9 to 0.7.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
5e6de4e
Changelog for Ruff v0.7 (#13794)70e5c4a
RecodeTRY302
toTRY203
(#13502)9218d6b
Removeallow-unused-imports
setting from the common lint options (#13677)1b79ae9
[ruff-0.7] Stabilise the expansion ofopen-file-with-context-handler
to wor...2b87587
[flake8-pytest-style
] Fix defaults whenlint.flake8-pytest-style
config s...d1e15f6
Remove tab-size setting (#12835)89a8215
Remove error messages for removed CLI aliases (#12833)202c6a6
Removeoutput-format=text
setting (#12836)5c3c0c4
[red-knot] Inference for comparison of union types (#13781)6b7a738
Add explanation of fixable in--statistics
command (#13774)Updates
tox
from 4.21.2 to 4.23.0Release notes
Sourced from tox's releases.
Changelog
Sourced from tox's changelog.
Commits
7696a8e
release 4.23.0c01a023
Add NETRC to the default_pass_env list (#3410)971e7da
replace tool.pyproject and tool.tox.pyproject with tool.tox in config… (#3411)81a83bd
Fix typo in docs for dependency_groupsb912cb2
release 4.22.0568b90f
Add dependency-groups support (PEP-735) (#3409)f919d0d
Expose type checking dependencies into an extra (#3404)7c0e3ed
[pre-commit.ci] pre-commit autoupdate (#3406)6db3730
Fix the fix environment definition (#3407)2bf065a
Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#3392)Updates
types-requests
from 2.32.0.20240914 to 2.32.0.20241016Commits
Updates
virtualenv
from 20.26.6 to 20.27.0Release notes
Sourced from virtualenv's releases.
Changelog
Sourced from virtualenv's changelog.
Commits
de4465f
release 20.27.06f16059
Skip $PATH entries we cannot check rather than dying with PermissionError (#2...f73a2f3
Fix broken Windows zipapp and drop 3.7 support (#2783)228b615
[pre-commit.ci] pre-commit autoupdate (#2781)b56d092
[pre-commit.ci] pre-commit autoupdate (#2779)a4dff77
Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#2777)da72caa
[pre-commit.ci] pre-commit autoupdate (#2775)349eddc
docs: fix the documentation typo on Extend Functionality page. (#2773)fe8ca14
release 20.26.6 (#2772)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show