Commit graph

18 commits

Author SHA1 Message Date
Sebastián Ramírez
b988f6fe67
👷 Move from pytest-cov to coverage and Codecov to Smokeshow (#483) 2022-11-05 00:08:30 +01:00
Sebastián Ramírez
163bc4592a
Add extra Material for MkDocs deps for docs (#482) 2022-11-04 22:43:16 +01:00
Sebastián Ramírez
252ed30936
Add pretty error tracebacks for user errors and support for Rich (#412) 2022-07-06 13:32:19 +02:00
Sebastián Ramírez
a1ee41186f
🔧 Add pre-commit config and formatting (#392) 2022-05-11 19:59:56 -05:00
Sebastián Ramírez
9910f38374
🐛 Fix import of get_terminal_size for click 8.1.0 support and upgrade Black for CI (#380)
Co-authored-by: Michael Adkins <michael@prefect.io>
2022-03-30 14:11:34 -05:00
Sebastián Ramírez
b01f3bbca8
⬆️ Upgrade MkDocs Material, MDX-Include, and MkDocs structure (#356) 2022-02-13 17:35:53 +01:00
Sebastián Ramírez
b97298181b
Add support for Click 8 while keeping compatibility with Click 7 (#317) 2021-08-30 09:57:12 +02:00
Sebastián Ramírez
9e9e47b3b4
📌 Pin dependencies (#138) 2020-07-09 23:47:08 +02:00
Sebastián Ramírez
89ddc35372
⬆ Upgrade Isort to version 5.x.x (#137)
* 🚚 Move docs src files to root docs_src

* 🚚 Update example includes from root docs_src

* 🚚 Import docs src examples for tests from docs_src

* ⬆️ Upgrade isort and configs

* 🎨 Update format in testing

* 🔧 Update configs with root docs_src

* 🔥 Remove obsolete/unecessary section in contributing guide

* 🎨 Re-format multi-file example

*  Revert format for multi-file examples

* 🔧 Add isort skips for multi-file examples
2020-07-09 22:09:53 +02:00
Sebastián Ramírez
a93e6b2f86
Add support for forward references (#93)
*  Add support for forward references

*  Add forward references test

* 🐛 Fix coverage in completion

* 🐛 Fix testing with Pytest and Pytest-sugar

* 📌 Pin Pytest
2020-04-26 15:42:13 +02:00
Sebastián Ramírez
5a6379ffc6
Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
*  Implement custom handling for callbacks with types

*  Implement type-based handling for completion functions

*  Add examples for custom completion

* 📝 Add docs for custom autocompletion

*  Add tests for autocompletion

*  Document using the context

*  Add tests for using the context

*  Add tests init for context

* 🔧 Update Mypy config

*  Add extra tests for completion

* ✏️ Fix format, typos, and minor texts

*  Update docs for printing, include stdout, stderr, and stdin

* ✏️ Add references to FastAPI, fix typos

* ✏️ Fix typo in Typer CLI

* 📝 Update docs for version

* 📝 Update docs for callbacks

* 📝 Update references to stdout/stderr in autocompletion

* 📝 Add docs for password in CLI option

* 📝 Add docs and tests for Testing

* 📝 Add new sections to docs

* 🎨 Fix formatting
2020-03-18 21:17:47 +01:00
Sebastián Ramírez
1d3337a4da
Re-implement completion, fixes, add PowerShell support (#66)
*  Re-implement completion

*  Add tests for re-implemented completion

* 🎨 Move mypy config to file

* 🙈 Update .gitignore

*  Remove click-completion, add support for autodetection with shellingham

*  Fix test for PowerShell

* 🐛 Fix PowerShell permissions/test

* 🎨 Format test

* 🏁 Fix PowerShell script for Windows and PowerShell 5

* 📝 Update docs, internal implementation of completion
2020-03-16 13:21:58 +01:00
Sebastián Ramírez
96b29e9639
Add support for Click 7.1.1 (#60)
* ⬆️ Upgrade required Click to 7.1.1 and pin it to patch versions

as a MINOR version broke compatibility, so I'll have to upgrade manually every time

* 📌 Fix pinning Click to MINOR version

*  Upgrade code to be compatible with latest Click changes

*  Update tests with new format for errors

* 📝 Update docs to keep them in sync with actual output
2020-03-10 18:49:29 +01:00
Sebastián Ramírez
bf50faeacc 💚 Update dev dependencies and CI scripts 2020-01-05 21:07:26 +01:00
Sebastián Ramírez
5d7eb2285d 🔧 Update tests tools 2020-01-05 20:50:14 +01:00
Sebastián Ramírez
f00e10083c Fix test coverage handling 2019-12-28 14:44:08 +01:00
Sebastián Ramírez
6512713838 🔧 Add main config files 2019-12-24 13:34:00 +01:00
Sebastián Ramírez
0cfc112b0f 🎉 First commit, Typer scaffolding 2019-12-20 16:36:04 +01:00