summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* f-strings everywhereDavid Lord2020-04-198-27/+29
|
* apply pyupgrade --py36-plusDavid Lord2020-04-1913-67/+57
|
* remove more compat codeDavid Lord2020-04-192-24/+4
|
* remove py2 parts of _compat moduleDavid Lord2020-04-193-30/+12
|
* remove deprecated callback parameter styleDavid Lord2020-04-191-16/+0
|
* Merge pull request #1492 from pallets/deprecate-legacy-callbackDavid Lord2020-03-091-1/+1
|\ | | | | deprecate old param callback style
| * deprecate old param callback styleDavid Lord2020-03-091-1/+1
| |
* | Merge branch '7.x'David Lord2020-03-0816-1479/+1560
|\ \ | |/
| * manual cleanupDavid Lord2020-03-0810-164/+103
| |
| * apply pyupgradeDavid Lord2020-03-083-27/+25
| |
| * apply formattingDavid Lord2020-03-061-5/+1
| |
| * apply flake8David Lord2020-03-066-48/+26
| |
| * apply blackDavid Lord2020-03-0616-1358/+1515
| |
| * apply reorder-python-importsDavid Lord2020-03-0612-21/+27
| |
* | Merge branch '7.x'David Lord2020-03-062-1/+49
|\ \ | |/
| * Merge pull request #1468 from muggenhor/fix/utf-8-compatDavid Lord2020-03-061-1/+22
| |\ | | | | | | fix: always use parameter UTF-8 fallback
| | * test: verify that UTF-8 is used as a fallback for decoding argumentsGiel van Schijndel2020-03-021-1/+22
| | |
| * | don't complete options after separatorbertolinocastro2020-02-261-0/+27
| | |
| * | add repr to CommandJimmy Zeng2020-02-241-0/+18
| | |
| * | Correct ZSH completion definitionsNick Cross2020-02-241-0/+8
| | |
* | | Merge branch '7.x'David Lord2020-02-231-1/+1
|\ \ \ | |/ /
| * | Use shlex.quote for quoting shell argumentsJohn T. Wodder II2020-02-231-1/+1
| | |
* | | Merge branch '7.x'David Lord2020-02-232-14/+74
|\ \ \ | |/ /
| * | add newline padding for multi-line option helpPeter Landoll2020-02-231-1/+37
| | |
| * | fix newline wrapping in option helpDavid Lord2020-02-231-14/+22
| | |
| * | prevent automatic environment variables from containing dashesGregory Pakosz2020-02-221-0/+16
| | |
* | | simplify parameter source testsDavid Lord2020-02-221-22/+24
| | |
* | | Undefined name: import sys for lines 300 and 311Christian Clauss2020-02-221-0/+1
| | |
* | | Merge branch '7.x'David Lord2020-02-195-39/+219
|\ \ \ | |/ / | | | | | | | | | # Conflicts: # CHANGES.rst
| * | type is always IOBase, handle lazy fileDavid Lord2020-02-192-12/+14
| | |
| * | Formatting file option prompting to path onlyicreatedanaccount2020-02-192-0/+16
| | |
| * | Merge pull request #1298 from joewledger/fix_958David Lord2020-02-191-11/+48
| |\ \ | | | | | | | | click.open_file respects "errors" parameter.
| | * | refactor open_stream and text stream utilitiesDavid Lord2020-02-191-55/+32
| | | |
| | * | open_file respects "errors" parameterJoe Ledger2020-02-161-0/+60
| | | | | | | | | | | | | | | | Signed-off-by: Joe Ledger <joewledger@gmail.com>
| * | | Fix for string cast of MissingParameterJames Daley2020-02-162-0/+18
| |/ /
| * | Make option format replace newlines with spaces.Jay Crotts2020-02-161-3/+1
| | |
| * | allow bool type with bool flagsKP2020-02-161-0/+10
| | |
| * | don't claim empty stderr wasn't captured separatelyJulian Berman2020-02-161-0/+12
| | |
| * | Add tests for atomic open_file permissionsMax Smolens2020-02-161-0/+43
| | |
| * | Restore progressbar iterator interface; add testStephen Rosen2020-02-161-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add a test for iterating on a progressbar with next() - implement `next()` in terms of `iter(ProgressBar)`, which is already well-defined - add a note about slow operations with progressbar to narrative docs One of the keys to this working is that `ProgressBar.generator` is consuming an iterable and doesn't store any important state in local variables, making it re-entry safe. I wasn't sure how we can best hint in the public docs that simply walking the bar and stopping one step short of finishing will result in the progress bar "hanging" unfinished. Noting that we work well with things like `time.sleep()` seems like a decent way of advertising positively something which we support *and* guiding anyone going off-book into proper usage. closes #1125
| * | ignore set empty environment variableJimmy Zeng2020-02-161-0/+11
| | |
| * | add test for unstyling other ansi controlsDavid Lord2020-02-161-25/+38
| |/ | | | | | | parametrize existing unstyle test
* | Fix SyntaxWarning in test over literal comparison.Karthikeyan Singaravelan2019-12-191-1/+1
| |
* | Merge branch '7.x'David Lord2019-10-092-1/+16
|\ \ | |/
| * Always return originally passed choice for Choice()Kyle Altendorf2019-09-262-1/+16
| |
* | Correct ZSH completion definitionsNick Cross2019-08-011-0/+8
| |
* | allow ProgressBar.update to set current_itemChristopher Palmer2019-08-011-0/+44
| | | | | | | | | | This allows updating what item is displayed when using ProgressBar.update to control the exact progress.
* | Merge branch '7.x'David Lord2019-08-014-14/+195
|\ \ | |/
| * fix py2 windows getchar testDavid Lord2019-08-011-1/+3
| |
| * Expand unit testing around termui (getchar testing for Windows)icreatedanaccount2019-05-241-2/+145
| |