griffe-runtime-objects 0.2.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/CHANGELOG.md +16 -0
  2. griffe_runtime_objects-0.3.1/CODE_OF_CONDUCT.md +84 -0
  3. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/CONTRIBUTING.md +13 -43
  4. griffe_runtime_objects-0.3.1/PKG-INFO +131 -0
  5. griffe_runtime_objects-0.3.1/README.md +98 -0
  6. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/pytest.ini +2 -0
  7. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/ruff.toml +17 -25
  8. griffe_runtime_objects-0.3.1/config/ty.toml +6 -0
  9. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/vscode/launch.json +12 -3
  10. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/vscode/settings.json +1 -3
  11. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/.overrides/main.html +5 -7
  12. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/.overrides/partials/comments.html +3 -3
  13. griffe_runtime_objects-0.3.1/docs/changelog.md +5 -0
  14. griffe_runtime_objects-0.3.1/docs/code_of_conduct.md +5 -0
  15. griffe_runtime_objects-0.3.1/docs/contributing.md +5 -0
  16. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/credits.md +1 -2
  17. griffe_runtime_objects-0.2.0/docs/css/mkdocstrings.css → griffe_runtime_objects-0.3.1/docs/css/apidocs.css +1 -7
  18. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/index.md +1 -0
  19. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/license.md +1 -0
  20. griffe_runtime_objects-0.3.1/docs/reference/api.md +7 -0
  21. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/duties.py +58 -77
  22. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/pyproject.toml +47 -13
  23. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/scripts/gen_credits.py +19 -20
  24. griffe_runtime_objects-0.3.1/scripts/get_version.py +31 -0
  25. griffe_runtime_objects-0.3.1/scripts/make +1 -0
  26. griffe_runtime_objects-0.3.1/scripts/make.py +224 -0
  27. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/src/griffe_runtime_objects/__init__.py +1 -1
  28. {griffe_runtime_objects-0.2.0/src/griffe_runtime_objects → griffe_runtime_objects-0.3.1/src/griffe_runtime_objects/_internal}/debug.py +13 -15
  29. griffe_runtime_objects-0.3.1/src/griffe_runtime_objects/_internal/extension.py +29 -0
  30. griffe_runtime_objects-0.3.1/tests/test_api.py +183 -0
  31. griffe_runtime_objects-0.3.1/tests/test_extension.py +53 -0
  32. griffe_runtime_objects-0.3.1/zensical.toml +185 -0
  33. griffe_runtime_objects-0.2.0/CODE_OF_CONDUCT.md +0 -133
  34. griffe_runtime_objects-0.2.0/PKG-INFO +0 -45
  35. griffe_runtime_objects-0.2.0/README.md +0 -13
  36. griffe_runtime_objects-0.2.0/config/mypy.ini +0 -5
  37. griffe_runtime_objects-0.2.0/devdeps.txt +0 -32
  38. griffe_runtime_objects-0.2.0/docs/changelog.md +0 -1
  39. griffe_runtime_objects-0.2.0/docs/code_of_conduct.md +0 -1
  40. griffe_runtime_objects-0.2.0/docs/contributing.md +0 -1
  41. griffe_runtime_objects-0.2.0/docs/css/insiders.css +0 -124
  42. griffe_runtime_objects-0.2.0/docs/css/material.css +0 -4
  43. griffe_runtime_objects-0.2.0/docs/insiders/changelog.md +0 -7
  44. griffe_runtime_objects-0.2.0/docs/insiders/goals.yml +0 -13
  45. griffe_runtime_objects-0.2.0/docs/insiders/index.md +0 -239
  46. griffe_runtime_objects-0.2.0/docs/insiders/installation.md +0 -88
  47. griffe_runtime_objects-0.2.0/docs/js/insiders.js +0 -74
  48. griffe_runtime_objects-0.2.0/mkdocs.yml +0 -172
  49. griffe_runtime_objects-0.2.0/scripts/gen_ref_nav.py +0 -37
  50. griffe_runtime_objects-0.2.0/scripts/insiders.py +0 -203
  51. griffe_runtime_objects-0.2.0/scripts/make +0 -210
  52. griffe_runtime_objects-0.2.0/src/griffe_runtime_objects/_internals/extension.py +0 -5
  53. griffe_runtime_objects-0.2.0/tests/test_extension.py +0 -6
  54. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/LICENSE +0 -0
  55. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/coverage.ini +0 -0
  56. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/git-changelog.toml +0 -0
  57. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/config/vscode/tasks.json +0 -0
  58. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/docs/js/feedback.js +0 -0
  59. {griffe_runtime_objects-0.2.0/src/griffe_runtime_objects/_internals → griffe_runtime_objects-0.3.1/src/griffe_runtime_objects/_internal}/__init__.py +0 -0
  60. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/src/griffe_runtime_objects/py.typed +0 -0
  61. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/tests/__init__.py +0 -0
  62. {griffe_runtime_objects-0.2.0 → griffe_runtime_objects-0.3.1}/tests/conftest.py +0 -0
@@ -6,6 +6,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  <!-- insertion marker -->
9
+ ## [0.3.1](https://github.com/mkdocstrings/griffe-runtime-objects/releases/tag/0.3.1) - 2026-02-20
10
+
11
+ <small>[Compare with 0.3.0](https://github.com/mkdocstrings/griffe-runtime-objects/compare/0.3.0...0.3.1)</small>
12
+
13
+ ### Build
14
+
15
+ - Depend on griffelib 2.0 ([d2f015b](https://github.com/mkdocstrings/griffe-runtime-objects/commit/d2f015b341d1a275ebf57176c5edab7814bb479b) by Timothée Mazzucotelli).
16
+
17
+ ## [0.3.0](https://github.com/mkdocstrings/griffe-runtime-objects/releases/tag/0.3.0) - 2025-11-09
18
+
19
+ <small>[Compare with 0.2.0](https://github.com/mkdocstrings/griffe-runtime-objects/compare/0.2.0...0.3.0)</small>
20
+
21
+ ### Features
22
+
23
+ - Release Insiders project ([82d4c29](https://github.com/mkdocstrings/griffe-runtime-objects/commit/82d4c29a3a71df831f440a68610f304d9c438d78) by Timothée Mazzucotelli).
24
+
9
25
  ## [0.2.0](https://github.com/mkdocstrings/griffe-runtime-objects/releases/tag/0.2.0) - 2024-08-17
10
26
 
11
27
  <small>[Compare with 0.1.0](https://github.com/mkdocstrings/griffe-runtime-objects/compare/0.1.0...0.2.0)</small>
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or advances of any kind
22
+ * Trolling, insulting or derogatory comments, and personal or political attacks
23
+ * Public or private harassment
24
+ * Publishing others' private information, such as a physical or email address, without their explicit permission
25
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
26
+
27
+ ## Enforcement Responsibilities
28
+
29
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32
+
33
+ ## Scope
34
+
35
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
36
+
37
+ ## Enforcement
38
+
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at dev@pawamoy.fr. All complaints will be reviewed and investigated promptly and fairly.
40
+
41
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42
+
43
+ ## Enforcement Guidelines
44
+
45
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46
+
47
+ ### 1. Correction
48
+
49
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50
+
51
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52
+
53
+ ### 2. Warning
54
+
55
+ **Community Impact**: A violation through a single incident or series of actions.
56
+
57
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58
+
59
+ ### 3. Temporary Ban
60
+
61
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62
+
63
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64
+
65
+ ### 4. Permanent Ban
66
+
67
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68
+
69
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
70
+
71
+ ## Attribution
72
+
73
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
74
+
75
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
76
+
77
+ For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
78
+
79
+ [homepage]: https://www.contributor-covenant.org
80
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
81
+ [Mozilla CoC]: https://github.com/mozilla/diversity
82
+ [FAQ]: https://www.contributor-covenant.org/faq
83
+ [translations]: https://www.contributor-covenant.org/translations
84
+
@@ -1,7 +1,6 @@
1
1
  # Contributing
2
2
 
3
- Contributions are welcome, and they are greatly appreciated!
4
- Every little bit helps, and credit will always be given.
3
+ Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
5
4
 
6
5
  ## Environment setup
7
6
 
@@ -14,21 +13,15 @@ cd griffe-runtime-objects
14
13
  make setup
15
14
  ```
16
15
 
17
- > NOTE:
18
- > If it fails for some reason,
19
- > you'll need to install
20
- > [uv](https://github.com/astral-sh/uv)
21
- > manually.
16
+ > NOTE: If it fails for some reason, you'll need to install [uv](https://github.com/astral-sh/uv) manually.
22
17
  >
23
18
  > You can install it with:
24
19
  >
25
20
  > ```bash
26
- > python3 -m pip install --user pipx
27
- > pipx install uv
21
+ > curl -LsSf https://astral.sh/uv/install.sh | sh
28
22
  > ```
29
23
  >
30
- > Now you can try running `make setup` again,
31
- > or simply `uv install`.
24
+ > Now you can try running `make setup` again, or simply `uv sync`.
32
25
 
33
26
  You now have the dependencies installed.
34
27
 
@@ -36,15 +29,9 @@ Run `make help` to see all the available actions!
36
29
 
37
30
  ## Tasks
38
31
 
39
- The entry-point to run commands and tasks is the `make` Python script,
40
- located in the `scripts` directory. Try running `make` to show the available commands and tasks.
41
- The *commands* do not need the Python dependencies to be installed,
42
- while the *tasks* do.
43
- The cross-platform tasks are written in Python, thanks to [duty](https://github.com/pawamoy/duty).
32
+ The entry-point to run commands and tasks is the `make` Python script, located in the `scripts` directory. Try running `make` to show the available commands and tasks. The *commands* do not need the Python dependencies to be installed, while the *tasks* do. The cross-platform tasks are written in Python, thanks to [duty](https://github.com/pawamoy/duty).
44
33
 
45
- If you work in VSCode, we provide
46
- [an action to configure VSCode](https://pawamoy.github.io/copier-uv/work/#vscode-setup)
47
- for the project.
34
+ If you work in VSCode, we provide [an action to configure VSCode](https://pawamoy.github.io/copier-uv/work/#vscode-setup) for the project.
48
35
 
49
36
  ## Development
50
37
 
@@ -63,17 +50,13 @@ As usual:
63
50
  1. go to http://localhost:8000 and check that everything looks good
64
51
  1. follow our [commit message convention](#commit-message-convention)
65
52
 
66
- If you are unsure about how to fix or ignore a warning,
67
- just let the continuous integration fail,
68
- and we will help you during review.
53
+ If you are unsure about how to fix or ignore a warning, just let the continuous integration fail, and we will help you during review.
69
54
 
70
55
  Don't bother updating the changelog, we will take care of this.
71
56
 
72
57
  ## Commit message convention
73
58
 
74
- Commit messages must follow our convention based on the
75
- [Angular style](https://gist.github.com/stephenparish/9941e89d80e2bc58a153#format-of-the-commit-message)
76
- or the [Karma convention](https://karma-runner.github.io/4.0/dev/git-commit-msg.html):
59
+ Commit messages must follow our convention based on the [Angular style](https://gist.github.com/stephenparish/9941e89d80e2bc58a153#format-of-the-commit-message) or the [Karma convention](https://karma-runner.github.io/4.0/dev/git-commit-msg.html):
77
60
 
78
61
  ```
79
62
  <type>[(scope)]: Subject
@@ -81,10 +64,7 @@ or the [Karma convention](https://karma-runner.github.io/4.0/dev/git-commit-msg.
81
64
  [Body]
82
65
  ```
83
66
 
84
- **Subject and body must be valid Markdown.**
85
- Subject must have proper casing (uppercase for first letter
86
- if it makes sense), but no dot at the end, and no punctuation
87
- in general.
67
+ **Subject and body must be valid Markdown.** Subject must have proper casing (uppercase for first letter if it makes sense), but no dot at the end, and no punctuation in general.
88
68
 
89
69
  Scope and body are optional. Type can be:
90
70
 
@@ -100,9 +80,7 @@ Scope and body are optional. Type can be:
100
80
  - `style`: A change in code style/format.
101
81
  - `tests`: About tests.
102
82
 
103
- If you write a body, please add trailers at the end
104
- (for example issues and PR references, or co-authors),
105
- without relying on GitHub's flavored Markdown:
83
+ If you write a body, please add trailers at the end (for example issues and PR references, or co-authors), without relying on GitHub's flavored Markdown:
106
84
 
107
85
  ```
108
86
  Body.
@@ -111,16 +89,9 @@ Issue #10: https://github.com/namespace/project/issues/10
111
89
  Related to PR namespace/other-project#15: https://github.com/namespace/other-project/pull/15
112
90
  ```
113
91
 
114
- These "trailers" must appear at the end of the body,
115
- without any blank lines between them. The trailer title
116
- can contain any character except colons `:`.
117
- We expect a full URI for each trailer, not just GitHub autolinks
118
- (for example, full GitHub URLs for commits and issues,
119
- not the hash or the #issue-number).
92
+ These "trailers" must appear at the end of the body, without any blank lines between them. The trailer title can contain any character except colons `:`. We expect a full URI for each trailer, not just GitHub autolinks (for example, full GitHub URLs for commits and issues, not the hash or the #issue-number).
120
93
 
121
- We do not enforce a line length on commit messages summary and body,
122
- but please avoid very long summaries, and very long lines in the body,
123
- unless they are part of code blocks that must not be wrapped.
94
+ We do not enforce a line length on commit messages summary and body, but please avoid very long summaries, and very long lines in the body, unless they are part of code blocks that must not be wrapped.
124
95
 
125
96
  ## Pull requests guidelines
126
97
 
@@ -145,5 +116,4 @@ And force-push:
145
116
  git push -f
146
117
  ```
147
118
 
148
- If this seems all too complicated, you can push or force-push each new commit,
149
- and we will squash them ourselves if needed, before merging.
119
+ If this seems all too complicated, you can push or force-push each new commit, and we will squash them ourselves if needed, before merging.
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.4
2
+ Name: griffe-runtime-objects
3
+ Version: 0.3.1
4
+ Summary: Make runtime objects available through `extra`.
5
+ Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
6
+ License-Expression: ISC
7
+ License-File: LICENSE
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Topic :: Documentation
19
+ Classifier: Topic :: Software Development
20
+ Classifier: Topic :: Utilities
21
+ Classifier: Typing :: Typed
22
+ Project-URL: Homepage, https://mkdocstrings.github.io/griffe-runtime-objects
23
+ Project-URL: Documentation, https://mkdocstrings.github.io/griffe-runtime-objects
24
+ Project-URL: Changelog, https://mkdocstrings.github.io/griffe-runtime-objects/changelog
25
+ Project-URL: Repository, https://github.com/mkdocstrings/griffe-runtime-objects
26
+ Project-URL: Issues, https://github.com/mkdocstrings/griffe-runtime-objects/issues
27
+ Project-URL: Discussions, https://github.com/mkdocstrings/griffe-runtime-objects/discussions
28
+ Project-URL: Gitter, https://gitter.im/mkdocstrings/griffe-runtime-objects
29
+ Project-URL: Funding, https://github.com/sponsors/pawamoy
30
+ Requires-Python: >=3.10
31
+ Requires-Dist: griffelib>=2.0
32
+ Description-Content-Type: text/markdown
33
+
34
+ # griffe-runtime-objects
35
+
36
+ [![ci](https://github.com/mkdocstrings/griffe-runtime-objects/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-runtime-objects/actions?query=workflow%3Aci)
37
+ [![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-runtime-objects/)
38
+ [![pypi version](https://img.shields.io/pypi/v/griffe-runtime-objects.svg)](https://pypi.org/project/griffe-runtime-objects/)
39
+ [![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-runtime-objects:gitter.im)
40
+
41
+ Make runtime objects available through `extra`.
42
+
43
+ ## Installation
44
+
45
+ ```bash
46
+ pip install griffe-runtime-objects
47
+ ```
48
+
49
+ ## Usage
50
+
51
+ [Enable](https://mkdocstrings.github.io/griffe/guide/users/extending/#using-extensions) the `griffe_runtime_objects` extension. Now all Griffe objects will have access to the corresponding runtime objects in their `extra` attribute, under the `runtime-objects` namespace:
52
+
53
+ ```pycon
54
+ >>> import griffe
55
+ >>> griffe_data = griffe.load("griffe", extensions=griffe.load_extensions("griffe_runtime_objects"), resolve_aliases=True)
56
+ >>> griffe_data["parse"].extra
57
+ defaultdict(<class 'dict'>, {'runtime-objects': {'object': <function parse at 0x78685c951260>}})
58
+ >>> griffe_data["Module"].extra
59
+ defaultdict(<class 'dict'>, {'runtime-objects': {'object': <class '_griffe.models.Module'>}})
60
+ ```
61
+
62
+ This extension can be useful in custom templates of mkdocstrings-python, to iterate on an object value or attributes.
63
+
64
+ With MkDocs:
65
+
66
+ ```yaml
67
+ plugins:
68
+ - mkdocstrings:
69
+ handlers:
70
+ python:
71
+ options:
72
+ extensions:
73
+ - griffe_runtime_objects
74
+ ```
75
+
76
+ ## Sponsors
77
+
78
+ <!-- sponsors-start -->
79
+
80
+ <div id="premium-sponsors" style="text-align: center;">
81
+
82
+ <div id="silver-sponsors"><b>Silver sponsors</b><p>
83
+ <a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
84
+ </p></div>
85
+
86
+ <div id="bronze-sponsors"><b>Bronze sponsors</b><p>
87
+ <a href="https://www.nixtla.io/"><picture><source media="(prefers-color-scheme: light)" srcset="https://www.nixtla.io/img/logo/full-black.svg"><source media="(prefers-color-scheme: dark)" srcset="https://www.nixtla.io/img/logo/full-white.svg"><img alt="Nixtla" src="https://www.nixtla.io/img/logo/full-black.svg" style="height: 60px; "></picture></a><br>
88
+ </p></div>
89
+ </div>
90
+
91
+ ---
92
+
93
+ <div id="sponsors"><p>
94
+ <a href="https://github.com/ofek"><img alt="ofek" src="https://avatars.githubusercontent.com/u/9677399?u=386c330f212ce467ce7119d9615c75d0e9b9f1ce&v=4" style="height: 32px; border-radius: 100%;"></a>
95
+ <a href="https://github.com/samuelcolvin"><img alt="samuelcolvin" src="https://avatars.githubusercontent.com/u/4039449?u=42eb3b833047c8c4b4f647a031eaef148c16d93f&v=4" style="height: 32px; border-radius: 100%;"></a>
96
+ <a href="https://github.com/tlambert03"><img alt="tlambert03" src="https://avatars.githubusercontent.com/u/1609449?u=922abf0524b47739b37095e553c99488814b05db&v=4" style="height: 32px; border-radius: 100%;"></a>
97
+ <a href="https://github.com/ssbarnea"><img alt="ssbarnea" src="https://avatars.githubusercontent.com/u/102495?u=c7bd9ddf127785286fc939dd18cb02db0a453bce&v=4" style="height: 32px; border-radius: 100%;"></a>
98
+ <a href="https://github.com/femtomc"><img alt="femtomc" src="https://avatars.githubusercontent.com/u/34410036?u=f13a71daf2a9f0d2da189beaa94250daa629e2d8&v=4" style="height: 32px; border-radius: 100%;"></a>
99
+ <a href="https://github.com/cmarqu"><img alt="cmarqu" src="https://avatars.githubusercontent.com/u/360986?v=4" style="height: 32px; border-radius: 100%;"></a>
100
+ <a href="https://github.com/kolenaIO"><img alt="kolenaIO" src="https://avatars.githubusercontent.com/u/77010818?v=4" style="height: 32px; border-radius: 100%;"></a>
101
+ <a href="https://github.com/ramnes"><img alt="ramnes" src="https://avatars.githubusercontent.com/u/835072?u=3fca03c3ba0051e2eb652b1def2188a94d1e1dc2&v=4" style="height: 32px; border-radius: 100%;"></a>
102
+ <a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
103
+ <a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
104
+ <a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
105
+ <a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
106
+ <a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
107
+ <a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
108
+ <a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
109
+ <a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
110
+ <a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
111
+ <a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
112
+ <a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
113
+ <a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
114
+ <a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
115
+ <a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
116
+ <a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
117
+ <a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
118
+ <a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
119
+ <a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
120
+ <a href="https://github.com/rodolphebarbanneau"><img alt="rodolphebarbanneau" src="https://avatars.githubusercontent.com/u/46493454?u=6c405452a40c231cdf0b68e97544e07ee956a733&v=4" style="height: 32px; border-radius: 100%;"></a>
121
+ <a href="https://github.com/theSymbolSyndicate"><img alt="theSymbolSyndicate" src="https://avatars.githubusercontent.com/u/111542255?v=4" style="height: 32px; border-radius: 100%;"></a>
122
+ <a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
123
+ <a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
124
+ <a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
125
+ <a href="https://github.com/Cusp-AI"><img alt="Cusp-AI" src="https://avatars.githubusercontent.com/u/178170649?v=4" style="height: 32px; border-radius: 100%;"></a>
126
+ </p></div>
127
+
128
+
129
+ *And 7 more private sponsor(s).*
130
+
131
+ <!-- sponsors-end -->
@@ -0,0 +1,98 @@
1
+ # griffe-runtime-objects
2
+
3
+ [![ci](https://github.com/mkdocstrings/griffe-runtime-objects/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-runtime-objects/actions?query=workflow%3Aci)
4
+ [![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-runtime-objects/)
5
+ [![pypi version](https://img.shields.io/pypi/v/griffe-runtime-objects.svg)](https://pypi.org/project/griffe-runtime-objects/)
6
+ [![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-runtime-objects:gitter.im)
7
+
8
+ Make runtime objects available through `extra`.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ pip install griffe-runtime-objects
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ [Enable](https://mkdocstrings.github.io/griffe/guide/users/extending/#using-extensions) the `griffe_runtime_objects` extension. Now all Griffe objects will have access to the corresponding runtime objects in their `extra` attribute, under the `runtime-objects` namespace:
19
+
20
+ ```pycon
21
+ >>> import griffe
22
+ >>> griffe_data = griffe.load("griffe", extensions=griffe.load_extensions("griffe_runtime_objects"), resolve_aliases=True)
23
+ >>> griffe_data["parse"].extra
24
+ defaultdict(<class 'dict'>, {'runtime-objects': {'object': <function parse at 0x78685c951260>}})
25
+ >>> griffe_data["Module"].extra
26
+ defaultdict(<class 'dict'>, {'runtime-objects': {'object': <class '_griffe.models.Module'>}})
27
+ ```
28
+
29
+ This extension can be useful in custom templates of mkdocstrings-python, to iterate on an object value or attributes.
30
+
31
+ With MkDocs:
32
+
33
+ ```yaml
34
+ plugins:
35
+ - mkdocstrings:
36
+ handlers:
37
+ python:
38
+ options:
39
+ extensions:
40
+ - griffe_runtime_objects
41
+ ```
42
+
43
+ ## Sponsors
44
+
45
+ <!-- sponsors-start -->
46
+
47
+ <div id="premium-sponsors" style="text-align: center;">
48
+
49
+ <div id="silver-sponsors"><b>Silver sponsors</b><p>
50
+ <a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
51
+ </p></div>
52
+
53
+ <div id="bronze-sponsors"><b>Bronze sponsors</b><p>
54
+ <a href="https://www.nixtla.io/"><picture><source media="(prefers-color-scheme: light)" srcset="https://www.nixtla.io/img/logo/full-black.svg"><source media="(prefers-color-scheme: dark)" srcset="https://www.nixtla.io/img/logo/full-white.svg"><img alt="Nixtla" src="https://www.nixtla.io/img/logo/full-black.svg" style="height: 60px; "></picture></a><br>
55
+ </p></div>
56
+ </div>
57
+
58
+ ---
59
+
60
+ <div id="sponsors"><p>
61
+ <a href="https://github.com/ofek"><img alt="ofek" src="https://avatars.githubusercontent.com/u/9677399?u=386c330f212ce467ce7119d9615c75d0e9b9f1ce&v=4" style="height: 32px; border-radius: 100%;"></a>
62
+ <a href="https://github.com/samuelcolvin"><img alt="samuelcolvin" src="https://avatars.githubusercontent.com/u/4039449?u=42eb3b833047c8c4b4f647a031eaef148c16d93f&v=4" style="height: 32px; border-radius: 100%;"></a>
63
+ <a href="https://github.com/tlambert03"><img alt="tlambert03" src="https://avatars.githubusercontent.com/u/1609449?u=922abf0524b47739b37095e553c99488814b05db&v=4" style="height: 32px; border-radius: 100%;"></a>
64
+ <a href="https://github.com/ssbarnea"><img alt="ssbarnea" src="https://avatars.githubusercontent.com/u/102495?u=c7bd9ddf127785286fc939dd18cb02db0a453bce&v=4" style="height: 32px; border-radius: 100%;"></a>
65
+ <a href="https://github.com/femtomc"><img alt="femtomc" src="https://avatars.githubusercontent.com/u/34410036?u=f13a71daf2a9f0d2da189beaa94250daa629e2d8&v=4" style="height: 32px; border-radius: 100%;"></a>
66
+ <a href="https://github.com/cmarqu"><img alt="cmarqu" src="https://avatars.githubusercontent.com/u/360986?v=4" style="height: 32px; border-radius: 100%;"></a>
67
+ <a href="https://github.com/kolenaIO"><img alt="kolenaIO" src="https://avatars.githubusercontent.com/u/77010818?v=4" style="height: 32px; border-radius: 100%;"></a>
68
+ <a href="https://github.com/ramnes"><img alt="ramnes" src="https://avatars.githubusercontent.com/u/835072?u=3fca03c3ba0051e2eb652b1def2188a94d1e1dc2&v=4" style="height: 32px; border-radius: 100%;"></a>
69
+ <a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
70
+ <a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
71
+ <a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
72
+ <a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
73
+ <a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
74
+ <a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
75
+ <a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
76
+ <a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
77
+ <a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
78
+ <a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
79
+ <a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
80
+ <a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
81
+ <a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
82
+ <a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
83
+ <a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
84
+ <a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
85
+ <a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
86
+ <a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
87
+ <a href="https://github.com/rodolphebarbanneau"><img alt="rodolphebarbanneau" src="https://avatars.githubusercontent.com/u/46493454?u=6c405452a40c231cdf0b68e97544e07ee956a733&v=4" style="height: 32px; border-radius: 100%;"></a>
88
+ <a href="https://github.com/theSymbolSyndicate"><img alt="theSymbolSyndicate" src="https://avatars.githubusercontent.com/u/111542255?v=4" style="height: 32px; border-radius: 100%;"></a>
89
+ <a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
90
+ <a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
91
+ <a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
92
+ <a href="https://github.com/Cusp-AI"><img alt="Cusp-AI" src="https://avatars.githubusercontent.com/u/178170649?v=4" style="height: 32px; border-radius: 100%;"></a>
93
+ </p></div>
94
+
95
+
96
+ *And 7 more private sponsor(s).*
97
+
98
+ <!-- sponsors-end -->
@@ -10,5 +10,7 @@ testpaths =
10
10
  # action:message_regex:warning_class:module_regex:line
11
11
  filterwarnings =
12
12
  error
13
+ default::EncodingWarning
14
+ error::EncodingWarning:griffe_runtime_objects
13
15
  # TODO: remove once pytest-xdist 4 is released
14
16
  ignore:.*rsyncdir:DeprecationWarning:xdist
@@ -1,34 +1,14 @@
1
- target-version = "py38"
1
+ target-version = "py310"
2
2
  line-length = 120
3
+ output-format = "concise"
3
4
 
4
5
  [lint]
5
6
  exclude = [
6
7
  "tests/fixtures/*.py",
7
8
  ]
8
- select = [
9
- "A", "ANN", "ARG",
10
- "B", "BLE",
11
- "C", "C4",
12
- "COM",
13
- "D", "DTZ",
14
- "E", "ERA", "EXE",
15
- "F", "FBT",
16
- "G",
17
- "I", "ICN", "INP", "ISC",
18
- "N",
19
- "PGH", "PIE", "PL", "PLC", "PLE", "PLR", "PLW", "PT", "PYI",
20
- "Q",
21
- "RUF", "RSE", "RET",
22
- "S", "SIM", "SLF",
23
- "T", "T10", "T20", "TCH", "TID", "TRY",
24
- "UP",
25
- "W",
26
- "YTT",
27
- ]
9
+ select = ["ALL"]
28
10
  ignore = [
29
11
  "A001", # Variable is shadowing a Python builtin
30
- "ANN101", # Missing type annotation for self
31
- "ANN102", # Missing type annotation for cls
32
12
  "ANN204", # Missing return type annotation for special method __str__
33
13
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
34
14
  "ARG005", # Unused lambda argument
@@ -36,28 +16,40 @@ ignore = [
36
16
  "D105", # Missing docstring in magic method
37
17
  "D417", # Missing argument description in the docstring
38
18
  "E501", # Line too long
19
+ "EM101", # String literal when raising exception
20
+ "EM102", # f-string when raising exception
39
21
  "ERA001", # Commented out code
22
+ "FIX", # TODO, FIXME, etc.
40
23
  "G004", # Logging statement uses f-string
41
24
  "PLR0911", # Too many return statements
42
25
  "PLR0912", # Too many branches
43
26
  "PLR0913", # Too many arguments to function call
44
27
  "PLR0915", # Too many statements
45
28
  "SLF001", # Private member accessed
29
+ "TD002", # Missing author in TODO
30
+ "TD003", # Missing issue link for TODO
46
31
  "TRY003", # Avoid specifying long messages outside the exception class
47
32
  ]
48
33
 
49
34
  [lint.per-file-ignores]
50
- "src/*/cli.py" = [
35
+ "src/**/cli.py" = [
51
36
  "T201", # Print statement
52
37
  ]
53
38
  "src/*/debug.py" = [
54
39
  "T201", # Print statement
55
40
  ]
41
+ "!src/*/*.py" = [
42
+ "D100", # Missing docstring in public module
43
+ ]
44
+ "!src/**.py" = [
45
+ "D101", # Missing docstring in public class
46
+ "D103", # Missing docstring in public function
47
+ ]
56
48
  "scripts/*.py" = [
57
49
  "INP001", # File is part of an implicit namespace package
58
50
  "T201", # Print statement
59
51
  ]
60
- "tests/*.py" = [
52
+ "tests/**.py" = [
61
53
  "ARG005", # Unused lambda argument
62
54
  "FBT001", # Boolean positional arg in function definition
63
55
  "PLR2004", # Magic value used in comparison
@@ -0,0 +1,6 @@
1
+ [src]
2
+ exclude = ["tests/fixtures"]
3
+
4
+ [terminal]
5
+ error-on-warning = true
6
+ output-format = "concise"
@@ -7,17 +7,26 @@
7
7
  "request": "launch",
8
8
  "program": "${file}",
9
9
  "console": "integratedTerminal",
10
- "justMyCode": false
10
+ "justMyCode": false,
11
+ "args": "${command:pickArgs}"
12
+ },
13
+ {
14
+ "name": "run",
15
+ "type": "debugpy",
16
+ "request": "launch",
17
+ "module": "griffe_runtime_objects",
18
+ "console": "integratedTerminal",
19
+ "justMyCode": false,
20
+ "args": "${command:pickArgs}"
11
21
  },
12
22
  {
13
23
  "name": "docs",
14
24
  "type": "debugpy",
15
25
  "request": "launch",
16
- "module": "mkdocs",
26
+ "module": "zensical",
17
27
  "justMyCode": false,
18
28
  "args": [
19
29
  "serve",
20
- "-v"
21
30
  ]
22
31
  },
23
32
  {
@@ -4,9 +4,6 @@
4
4
  "**/.venvs*/**": true,
5
5
  "**/venv*/**": true
6
6
  },
7
- "mypy-type-checker.args": [
8
- "--config-file=config/mypy.ini"
9
- ],
10
7
  "python.testing.unittestEnabled": false,
11
8
  "python.testing.pytestEnabled": true,
12
9
  "python.testing.pytestArgs": [
@@ -19,6 +16,7 @@
19
16
  "ruff.lint.args": [
20
17
  "--config=config/ruff.toml"
21
18
  ],
19
+ "ty.configurationFile": "config/ty.toml",
22
20
  "yaml.schemas": {
23
21
  "https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
24
22
  },
@@ -1,13 +1,11 @@
1
1
  {% extends "base.html" %}
2
2
 
3
3
  {% block announce %}
4
-
5
- <strong>Fund this project</strong> through
6
- <a href="{{ 'insiders/#how-to-become-a-sponsor' | url }}"><strong>sponsorship</strong></a>
7
- <span class="twemoji heart pulse">
8
- {% include ".icons/octicons/heart-fill-16.svg" %}
9
- </span> &mdash;
10
-
4
+ <strong>Fund this project</strong> through
5
+ <a href="https://github.com/sponsors/pawamoy"><strong>sponsorship</strong></a>
6
+ <span class="twemoji heart pulse">
7
+ {% include ".icons/octicons/heart-fill-16.svg" %}
8
+ </span> &mdash;
11
9
  Follow
12
10
  <strong>@pawamoy</strong> on
13
11
  <a rel="me" href="https://fosstodon.org/@pawamoy">