Skip to content

Commit e6f429e

Browse files
committed
chore: Template upgrade
1 parent e306425 commit e6f429e

31 files changed

+752
-380
lines changed

.copier-answers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Changes here will be overwritten by Copier
2-
_commit: 1.4.1
1+
# Changes here will be overwritten by Copier.
2+
_commit: 1.7.1
33
_src_path: gh:pawamoy/copier-uv
44
author_email: [email protected]
55
author_fullname: Timothée Mazzucotelli
66
author_username: pawamoy
77
copyright_date: '2021'
88
copyright_holder: Timothée Mazzucotelli
99
copyright_holder_email: [email protected]
10-
copyright_license: ISC License
10+
copyright_license: ISC
1111
insiders: false
1212
project_description: A legacy Python handler for mkdocstrings.
1313
project_name: mkdocstrings-python (legacy)

.github/FUNDING.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
github: pawamoy
2-
ko_fi: pawamoy
32
polar: pawamoy
4-
custom:
5-
- https://www.paypal.me/pawamoy

.github/ISSUE_TEMPLATE/1-bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ PASTE TRACEBACK HERE
5050
redacting sensitive information. -->
5151

5252
```bash
53-
python -m mkdocstrings_handlers.python.debug # | xclip -selection clipboard
53+
python -m mkdocstrings_handlers.python._internal.debug # | xclip -selection clipboard
5454
```
5555

5656
PASTE MARKDOWN OUTPUT HERE

.github/workflows/ci.yml

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
28-
29-
- name: Fetch all tags
30-
run: git fetch --depth=1 --tags
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
fetch-tags: true
3131

32-
- name: Set up Python
32+
- name: Setup Python
3333
uses: actions/setup-python@v5
3434
with:
35-
python-version: "3.11"
35+
python-version: "3.12"
3636

37-
- name: Install uv
38-
run: pip install uv
37+
- name: Setup uv
38+
uses: astral-sh/setup-uv@v5
39+
with:
40+
enable-cache: true
41+
cache-dependency-glob: pyproject.toml
3942

4043
- name: Install dependencies
4144
run: make setup
@@ -52,21 +55,29 @@ jobs:
5255
- name: Check for breaking changes in the API
5356
run: make check-api
5457

58+
- name: Store objects inventory for tests
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: objects.inv
62+
path: site/objects.inv
63+
5564
tests:
5665

66+
needs:
67+
- quality
5768
strategy:
5869
matrix:
5970
os:
6071
- ubuntu-latest
6172
- macos-latest
6273
- windows-latest
6374
python-version:
64-
- "3.8"
6575
- "3.9"
6676
- "3.10"
6777
- "3.11"
6878
- "3.12"
6979
- "3.13"
80+
- "3.14"
7081
resolution:
7182
- highest
7283
- lowest-direct
@@ -76,27 +87,38 @@ jobs:
7687
- os: windows-latest
7788
resolution: lowest-direct
7889
runs-on: ${{ matrix.os }}
79-
continue-on-error: ${{ matrix.python-version == '3.13' }}
90+
continue-on-error: ${{ matrix.python-version == '3.14' }}
8091

8192
steps:
8293
- name: Checkout
83-
uses: actions/checkout@v3
94+
uses: actions/checkout@v4
95+
with:
96+
fetch-depth: 0
97+
fetch-tags: true
8498

85-
- name: Set up Python
99+
- name: Setup Python
86100
uses: actions/setup-python@v5
87101
with:
88102
python-version: ${{ matrix.python-version }}
89103
allow-prereleases: true
90104

91105
- name: Setup uv
92-
uses: astral-sh/setup-uv@v1
106+
uses: astral-sh/setup-uv@v5
93107
with:
94108
enable-cache: true
109+
cache-dependency-glob: pyproject.toml
110+
cache-suffix: ${{ matrix.resolution }}
95111

96112
- name: Install dependencies
97113
env:
98114
UV_RESOLUTION: ${{ matrix.resolution }}
99115
run: make setup
100116

117+
- name: Download objects inventory
118+
uses: actions/download-artifact@v4
119+
with:
120+
name: objects.inv
121+
path: site/
122+
101123
- name: Run the test suite
102124
run: make test

.github/workflows/release.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ jobs:
1010
if: startsWith(github.ref, 'refs/tags/')
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
14-
- name: Fetch all tags
15-
run: git fetch --depth=1 --tags
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
fetch-tags: true
1617
- name: Setup Python
17-
uses: actions/setup-python@v4
18-
- name: Install git-changelog
19-
run: pip install git-changelog
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: "3.12"
21+
- name: Setup uv
22+
uses: astral-sh/setup-uv@v5
2023
- name: Prepare release notes
21-
run: git-changelog --release-notes > release-notes.md
24+
run: uv tool run git-changelog --release-notes > release-notes.md
2225
- name: Create release
23-
uses: softprops/action-gh-release@v1
26+
uses: softprops/action-gh-release@v2
2427
with:
2528
body_path: release-notes.md

.gitpod.dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitpod.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 25 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -2,128 +2,79 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, caste, color, religion, or sexual
10-
identity and orientation.
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.
116

12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
148

159
## Our Standards
1610

17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
11+
Examples of behavior that contributes to a positive environment for our community include:
1912

2013
* Demonstrating empathy and kindness toward other people
2114
* Being respectful of differing opinions, viewpoints, and experiences
2215
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the overall
26-
community
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
2718

2819
Examples of unacceptable behavior include:
2920

30-
* The use of sexualized language or imagery, and sexual attention or advances of
31-
any kind
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
3222
* Trolling, insulting or derogatory comments, and personal or political attacks
3323
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email address,
35-
without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
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
3826

3927
## Enforcement Responsibilities
4028

41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
44-
or harmful.
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.
4530

46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
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.
5032

5133
## Scope
5234

53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
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.
5836

5937
## Enforcement
6038

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at
63-
64-
All complaints will be reviewed and investigated promptly and fairly.
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly.
6540

66-
All community leaders are obligated to respect the privacy and security of the
67-
reporter of any incident.
41+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
6842

6943
## Enforcement Guidelines
7044

71-
Community leaders will follow these Community Impact Guidelines in determining
72-
the consequences for any action they deem in violation of this Code of Conduct:
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:
7346

7447
### 1. Correction
7548

76-
**Community Impact**: Use of inappropriate language or other behavior deemed
77-
unprofessional or unwelcome in the community.
49+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
7850

79-
**Consequence**: A private, written warning from community leaders, providing
80-
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
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.
8252

8353
### 2. Warning
8454

85-
**Community Impact**: A violation through a single incident or series of
86-
actions.
55+
**Community Impact**: A violation through a single incident or series of actions.
8756

88-
**Consequence**: A warning with consequences for continued behavior. No
89-
interaction with the people involved, including unsolicited interaction with
90-
those enforcing the Code of Conduct, for a specified period of time. This
91-
includes avoiding interactions in community spaces as well as external channels
92-
like social media. Violating these terms may lead to a temporary or permanent
93-
ban.
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.
9458

9559
### 3. Temporary Ban
9660

97-
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
61+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
9962

100-
**Consequence**: A temporary ban from any sort of interaction or public
101-
communication with the community for a specified period of time. No public or
102-
private interaction with the people involved, including unsolicited interaction
103-
with those enforcing the Code of Conduct, is allowed during this period.
104-
Violating these terms may lead to a permanent ban.
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.
10564

10665
### 4. Permanent Ban
10766

108-
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
110-
individual, or aggression toward or disparagement of classes of individuals.
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.
11168

112-
**Consequence**: A permanent ban from any sort of public interaction within the
113-
community.
69+
**Consequence**: A permanent ban from any sort of public interaction within the community.
11470

11571
## Attribution
11672

117-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.1, available at
119-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
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].
12074

121-
Community Impact Guidelines were inspired by
122-
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
75+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
12376

124-
For answers to common questions about this code of conduct, see the FAQ at
125-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126-
[https://www.contributor-covenant.org/translations][translations].
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].
12778

12879
[homepage]: https://www.contributor-covenant.org
12980
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html

0 commit comments

Comments
 (0)