github-actions
8c59b68c62
📝 Update release notes
2023-05-02 04:20:25 +00:00
github-actions
a28c74bdf8
📝 Update release notes
2023-05-02 04:19:58 +00:00
pre-commit-ci[bot]
9930495e84
⬆ [pre-commit.ci] pre-commit autoupdate ( #592 )
...
updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.3.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-01 21:19:44 -07:00
Ryan Miller Galamb
458a492ed9
✨ Add support for PEP-593 Annotated
for specifying options and arguments ( #584 )
...
* ✨ Add support for PEP-593 `Annotated` for specifying options and arguments
Implements #184
* Revert things I did to get a 3.6 virtualenv 😅
A lot of the dev dependency packages weren't installable on 3.6, so I
had to remove them from the pyproject.toml.
This commit adds them back
* Fix mypy/lint errors
* Skip coverage on test lines that shouldn't execute
* Missed a spot
* ♻️ Tweak examples and tests with Annotated, add extra examples and tests
* 🔥 Remove Pydantic-specific logic from _typing.py
* 📝 Update docs to use new Annotated examples
* 📝 Add docs introducing Annotated and previous versions
* 🔧 Add commented out MkDocs config for highlighting docs examples
* ✅ Fix tests for Click 7
---------
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-01 21:19:19 -07:00
Sebastián Ramírez
1260b8dd93
🔖 Release version 0.8.0
2023-05-01 13:29:07 +02:00
Sebastián Ramírez
32f606a186
📝 Update release notes
2023-05-01 13:27:06 +02:00
github-actions
39ed1e5229
📝 Update release notes
2023-05-01 11:22:19 +00:00
github-actions
0b8c31d028
📝 Update release notes
2023-05-01 11:21:03 +00:00
dependabot[bot]
5c729e8a28
⬆ Bump dawidd6/action-download-artifact from 2.24.2 to 2.26.0 ( #558 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 2.24.2 to 2.26.0.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2.24.2...v2.26.0 )
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 04:20:56 -07:00
pre-commit-ci[bot]
ae28b59d0e
⬆ [pre-commit.ci] pre-commit autoupdate ( #549 )
...
* ⬆ [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/autoflake: v2.0.0 → v2.1.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.1.1 )
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0 )
* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-01 04:20:26 -07:00
github-actions
0c418b4a2f
📝 Update release notes
2023-05-01 11:17:13 +00:00
Ben Beasley
6664f1ec31
⬆ Upgrade Rich, support 13.x ( #524 )
...
Allow rich 13.x
Based on the changelog, the only relevant breaking change is that
support for Python 3.6 is removed:
https://github.com/Textualize/rich/blob/v13.0.0/CHANGELOG.md#1300---2022-12-30
This is OK even though we support Python 3.6 in typer, because we do
still allow older versions of rich that are compatible with Python 3.6.
2023-05-01 04:16:35 -07:00
github-actions
a6a578797e
📝 Update release notes
2023-05-01 11:07:03 +00:00
jmills
46154f2fc9
✏ Fix spelling (shinny -> shiny) ( #586 )
...
shinny -> shiny
2023-05-01 04:05:30 -07:00
Sebastián Ramírez
606df45a02
📝 Update release notes
2023-05-01 12:59:15 +02:00
github-actions
0ee670f624
📝 Update release notes
2023-05-01 10:52:11 +00:00
Sebastián Ramírez
e7c3467a08
📝 Tweak docs, Custom Types path, main page and READAME colors, broken links ( #588 )
...
* 📝 Tweak name for Custom Types
* ✏️ Fix broken internal links in CLI Option autocompletion
* 📝 Update main page docs, remove colors as that renders badly in README
* 📝 Update README, sync with index.md, remove colors for GitHub and PyPI
2023-05-01 03:51:35 -07:00
github-actions
27d0fdeb3f
📝 Update release notes
2023-05-01 10:04:11 +00:00
John Purviance
3e37e01979
✨ Add support for custom types and parsers (updates/builds upon PR #443 ) ( #583 )
...
* Support custom parameter types
While most CLI parameters are strings, ints, etc, we sometimes need custom
types.
Currently typer has no support for it (See #77 ), and while there are a few hacks, the
likely solution is to add a 'str' argument and parse it inside the main function.
This PR adds support for custom types in 3 different ways:
- Manually specifying a `click_type`
- Manually specifying a `parse` function
- Using a Callable type annotation (It is very common for types to have a string constructor, like `int("1")`)
* Document how to parse custom objects with Typer.
Typer supports parsing of cutom types with:
- A user provided parser class
- A click custom type parser
* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
* 📝 Tweak and simplify docs
* ✅ Tweak tests to run scripts and remove pragma: nocover in examples
* 📝 Tweak examples for docs, add types and remove # pragma: nocover
* ♻️ Tweak implementation checking for parser and Click type
---------
Co-authored-by: Paulo Costa <me@paulo.costa.nom.br>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-05-01 03:03:26 -07:00
github-actions
8dd7642d6e
📝 Update release notes
2023-04-25 23:30:29 +00:00
David Montague
71e04e0d3b
🔧 Add exclude_lines
to coverage configuration ( #585 )
...
Add exclude_lines to coverage configuration
2023-04-25 16:29:50 -07:00
github-actions
50caff2757
📝 Update release notes
2023-02-21 11:05:36 +00:00
Sebastián Ramírez
17671936cb
⬆️ Upgrade analytics ( #557 )
2023-02-21 11:05:01 +00:00
github-actions
b9515e88e3
📝 Update release notes
2023-02-03 17:52:27 +00:00
Sebastián Ramírez
6386bcd741
📝 Update docs about helping Typer ( #547 )
2023-02-03 18:51:55 +01:00
github-actions
1201e7f3b2
📝 Update release notes
2023-01-31 14:11:55 +00:00
Sebastián Ramírez
d75debfe0c
🔧 Update new issue chooser to suggest GitHub Discussions ( #544 )
2023-01-31 15:11:16 +01:00
github-actions
898ca8f663
📝 Update release notes
2023-01-30 10:35:54 +00:00
Sebastián Ramírez
ef1081e1f1
🔧 Add GitHub Discussion templates for questions ( #541 )
2023-01-30 11:35:12 +01:00
github-actions
4ba8226505
📝 Update release notes
2023-01-30 10:29:22 +00:00
Sebastián Ramírez
9b65e60555
🔧 Update pre-commit, Python version, isort version ( #542 )
2023-01-30 11:28:41 +01:00
github-actions
35c63685ca
📝 Update release notes
2022-12-16 23:10:44 +00:00
pre-commit-ci[bot]
44fce0f296
⬆ [pre-commit.ci] pre-commit autoupdate ( #512 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-12-17 03:10:01 +04:00
github-actions
fbd713a980
📝 Update release notes
2022-12-16 20:46:01 +00:00
dependabot[bot]
fdfaf4fc50
⬆ Bump nwtgck/actions-netlify from 1.2.4 to 2.0.0 ( #513 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-17 00:45:21 +04:00
github-actions
f6665d9f37
📝 Update release notes
2022-12-16 18:29:42 +00:00
Sebastián Ramírez
0c106a169e
👷 Refactor CI artifact upload/download for docs previews ( #516 )
2022-12-16 22:29:08 +04:00
github-actions
e3f746793f
📝 Update release notes
2022-11-14 21:52:28 +00:00
pre-commit-ci[bot]
69b9cb5908
⬆ [pre-commit.ci] pre-commit autoupdate ( #500 )
...
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-14 21:51:54 +00:00
github-actions
e14cf38029
📝 Update release notes
2022-11-11 12:33:26 +00:00
dependabot[bot]
df359e0785
⬆ Bump actions/cache from 2 to 3 ( #496 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-11 13:32:44 +01:00
github-actions
40cca5fa92
📝 Update release notes
2022-11-10 21:46:01 +00:00
Xuan (Sean) Hu
915f89b6f8
✏️ Fix typo in datetime docs ( #495 )
2022-11-10 22:45:09 +01:00
github-actions
95a0dbf532
📝 Update release notes
2022-11-10 10:28:41 +00:00
dependabot[bot]
28e627bc80
⬆ Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2 ( #494 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 2.24.1 to 2.24.2.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2.24.1...v2.24.2 )
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 11:28:03 +01:00
github-actions
6d1a87b89d
📝 Update release notes
2022-11-09 11:49:18 +00:00
github-actions
f294638786
📝 Update release notes
2022-11-09 11:47:34 +00:00
dependabot[bot]
0497541774
⬆ Bump dawidd6/action-download-artifact from 2.9.0 to 2.24.1 ( #491 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 2.9.0 to 2.24.1.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v2.9.0...v2.24.1 )
---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 12:47:11 +01:00
dependabot[bot]
c6866b398b
⬆ Bump actions/setup-python from 2 to 4 ( #492 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 12:46:48 +01:00
github-actions
d7c4d0dd0a
📝 Update release notes
2022-11-07 18:02:28 +00:00