Commit graph

11 commits

Author SHA1 Message Date
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
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
6da736487d
Report coverage in XML (#146)
*  Report XML Coverate to support GitHub Actions

* 🙈 Add coverage report to .gitignore

*  Add custom testing .zshrc logic for coverage
2020-07-19 14:37:50 +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
cf95aa3f48
Make installed completion lazy load (#92)
*  Re-implement completion install to lazy load

to support completion for programs under environments

*  Update tests for new lazy loaded completion

*  Update test after removing period from message
2020-04-26 12:16:38 +02:00
Sebastián Ramírez
646c737329
🐛 Do not show an error on completion eval if the program is not installed (#83)
* 🐛 Fix Fish completion script

* 🐛 Do not show an error on completion eval if the program is not installed

*  Add stderr redirect to /dev/null for Fish too

*  Update completion tests
2020-03-29 15:39:49 +02:00
Sebastián Ramírez
d90344dab0
🐛 Fix Bash completion install to .bashrc (#81)
* 🐛 Fix Bash completion setup to .bashrc

* 📝 Update docs and script for Windows development environment
2020-03-29 14:26:54 +02:00
Sebastián Ramírez
a89fc4ebb7
white_check_mark: Add coverage instructions to tests (#72)
*  Add coverage instructions to tests

* 📝 Update docs note about coverage in features

* 🎨 Fix format

* 🎨 Update testing docs format
2020-03-19 14:44:43 +01:00
Sebastián Ramírez
c304d80dea
🐛 Fix Zsh completion install (#69) 2020-03-18 21:28:34 +01: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