Skip to content

Commit 4e8ff9d

Browse files
authored
Merge branch 'master' into issues359
2 parents 148e1b2 + f83c66d commit 4e8ff9d

212 files changed

Lines changed: 7792 additions & 733 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coveragerc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,19 @@ source =
55
tests
66
docs_src
77

8+
omit =
9+
typer/_typing.py
10+
811
parallel = True
912
context = '${CONTEXT}'
13+
14+
[report]
15+
precision = 2
16+
exclude_lines =
17+
pragma: no cover
18+
pragma: nocover
19+
pragma no cover
20+
raise NotImplementedError
21+
raise NotImplemented
22+
@overload
23+
if TYPE_CHECKING:
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Question or Problem
2-
description: Ask a question or ask about a problem
31
labels: [question]
42
body:
53
- type: markdown
@@ -9,9 +7,9 @@ body:
97
108
Please follow these instructions, fill every question, and do every step. 🙏
119
12-
I'm asking this because answering questions and solving problems in GitHub issues is what consumes most of the time.
10+
I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
1311
14-
I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling issues.
12+
I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
1513
1614
All that, on top of all the incredible help provided by a bunch of community members that give a lot of their time to come here and help others.
1715
@@ -21,16 +19,16 @@ body:
2119
2220
And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
2321
24-
As there are too many issues with questions, I'll have to close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓
22+
As there are too many questions, I'll have to discard and close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓
2523
- type: checkboxes
2624
id: checks
2725
attributes:
2826
label: First Check
2927
description: Please confirm and check all the following options.
3028
options:
31-
- label: I added a very descriptive title to this issue.
29+
- label: I added a very descriptive title here.
3230
required: true
33-
- label: I used the GitHub search to find a similar issue and didn't find it.
31+
- label: I used the GitHub search to find a similar question and didn't find it.
3432
required: true
3533
- label: I searched the Typer documentation, with the integrated search.
3634
required: true
@@ -49,7 +47,7 @@ body:
4947
5048
* Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
5149
* I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
52-
* Implement a Pull Request for a confirmed bug.
50+
* Review one Pull Request by downloading the code and following all the review process](https://typer.tiangolo.com/help-typer/#review-pull-requests).
5351
5452
options:
5553
- label: I commit to help with one of those options 👆

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Security Contact
44
about: Please report security vulnerabilities to [email protected]
5+
- name: Question or Problem
6+
about: Ask a question or ask about a problem in GitHub Discussions.
7+
url: https://github.com/tiangolo/typer/discussions/categories/questions
8+
- name: Feature Request
9+
about: To suggest an idea or ask about a feature, please start with a question saying what you would like to achieve. There might be a way to do it already.
10+
url: https://github.com/tiangolo/typer/discussions/categories/questions
11+
- name: Show and tell
12+
about: Show what you built with Typer or to be used with Typer.
13+
url: https://github.com/tiangolo/typer/discussions/categories/show-and-tell

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 0 additions & 179 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Privileged
2+
description: You are @tiangolo or he asked you directly to create an issue here. If not, check the other options. 👇
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thanks for your interest in Typer! 🚀
8+
9+
If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/tiangolo/typer/discussions/categories/questions) instead.
10+
- type: checkboxes
11+
id: privileged
12+
attributes:
13+
label: Privileged issue
14+
description: Confirm that you are allowed to create an issue here.
15+
options:
16+
- label: I'm @tiangolo or he asked me directly to create an issue here.
17+
required: true
18+
- type: textarea
19+
id: content
20+
attributes:
21+
label: Issue Content
22+
description: Add the content of the issue here.

.github/workflows/preview-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
rm -rf ./site
1717
mkdir ./site
1818
- name: Download Artifact Docs
19-
uses: dawidd6/action-download-artifact@v2.24.2
19+
uses: dawidd6/action-download-artifact@v2.26.0
2020
with:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222
workflow: build-docs.yml

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- run: pip install smokeshow
2222

23-
- uses: dawidd6/action-download-artifact@v2.24.2
23+
- uses: dawidd6/action-download-artifact@v2.26.0
2424
with:
2525
workflow: test.yml
2626
commit: ${{ github.event.workflow_run.head_sha }}

.pre-commit-config.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3+
default_language_version:
4+
python: python3.10
35
repos:
46
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
7+
rev: v4.4.0
68
hooks:
79
- id: check-added-large-files
810
- id: check-toml
@@ -12,7 +14,7 @@ repos:
1214
- id: end-of-file-fixer
1315
- id: trailing-whitespace
1416
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.2.2
17+
rev: v3.3.2
1618
hooks:
1719
- id: pyupgrade
1820
args:
@@ -21,7 +23,7 @@ repos:
2123
# This file is more readable without yield from
2224
exclude: ^docs_src/progressbar/tutorial004\.py
2325
- repo: https://github.com/PyCQA/autoflake
24-
rev: v1.7.7
26+
rev: v2.1.1
2527
hooks:
2628
- id: autoflake
2729
args:
@@ -34,7 +36,7 @@ repos:
3436
- __init__.py
3537
- --remove-duplicate-keys
3638
- repo: https://github.com/pycqa/isort
37-
rev: 5.10.1
39+
rev: 5.12.0
3840
hooks:
3941
- id: isort
4042
name: isort (python)
@@ -45,7 +47,7 @@ repos:
4547
name: isort (pyi)
4648
types: [pyi]
4749
- repo: https://github.com/psf/black
48-
rev: 22.10.0
50+
rev: 23.3.0
4951
hooks:
5052
- id: black
5153
ci:

0 commit comments

Comments
 (0)