Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mappings: add an initial, simple OrderedSet implementation | Tim Harder | 2020-12-04 | 1 | -0/+59 | |
| | | | | Leveraging guaranteed insertion order dicts from py36 on. | |||||
* | tests: skip failing formatters tests on github CI | Tim Harder | 2020-11-27 | 1 | -0/+2 | |
| | ||||||
* | tests: fix existent_path and existent_dir argparse type tests | Tim Harder | 2020-11-25 | 1 | -4/+4 | |
| | ||||||
* | cli.arghparse: drop allow_stdin param for Parse*Stdin actions | Tim Harder | 2020-11-18 | 1 | -18/+2 | |
| | ||||||
* | cli.arghparse: add optional filter_func param for Parse*Stdin actions | Tim Harder | 2020-11-18 | 1 | -1/+1 | |
| | | | | And only use rstrip() on lines instead of strip(). | |||||
* | test_obj: Ignore __class_getitem__ | Michał Górny | 2020-05-28 | 1 | -1/+2 | |
| | | | | | Ignore __class_getitem__ special that was added to some stdlib objects in Python 3.9. It is used as part of type declarations. | |||||
* | drop unnecessary object class inheritance for py3 | Tim Harder | 2020-01-31 | 25 | -135/+135 | |
| | ||||||
* | fileutils: drop refs to readfile/readlines C extensions and default to utf8 | Tim Harder | 2019-12-16 | 1 | -23/+13 | |
| | ||||||
* | tests: drop pytest-mock plugin usage | Tim Harder | 2019-11-18 | 1 | -34/+39 | |
| | ||||||
* | strings: add doc_dedent() function for dedenting docstrings | Tim Harder | 2019-08-30 | 1 | -20/+59 | |
| | ||||||
* | tests: make spawn_bash() test check bash output as well | Tim Harder | 2019-08-22 | 1 | -2/+4 | |
| | ||||||
* | remove license/copyright file headers | Tim Harder | 2019-08-18 | 31 | -100/+0 | |
| | | | | These are both covered by the LICENSE file in the repo's root directory. | |||||
* | cli.arghparse: add existent_dir argument type | Tim Harder | 2019-08-15 | 1 | -0/+29 | |
| | ||||||
* | tests: move unit tests into module subdir | Tim Harder | 2019-08-14 | 33 | -0/+0 | |
| | ||||||
* | klass: DirProxy: support pulling attr list from __slots__ | Tim Harder | 2019-08-10 | 1 | -0/+16 | |
| | ||||||
* | tests: complete ImmutableDict check coverage | Tim Harder | 2019-08-10 | 1 | -0/+15 | |
| | ||||||
* | tests: add some basic ImmutableDict init checks | Tim Harder | 2019-08-09 | 1 | -13/+37 | |
| | ||||||
* | mappings: ImmutableDict: simplify using collections.abc.Mapping | Tim Harder | 2019-08-09 | 1 | -9/+25 | |
| | | | | This also fixes previous pickling issues. | |||||
* | Revert "tests/cli: fix mocked obj assertions for py34/py35" | Tim Harder | 2019-07-29 | 1 | -2/+2 | |
| | | | | | | We're >= py36 only now. This reverts commit a287c1ad3a0abeabb4a8117d55683307f0d38bb4. | |||||
* | tests: use sys.exit() to test child process exit status | Tim Harder | 2019-05-18 | 1 | -1/+5 | |
| | | | | | | | Instead of os._exit() to avoid cases where sending child exceptions via pipes can hang. Fixes #47. | |||||
* | split decorators into their own module | Tim Harder | 2019-03-02 | 2 | -42/+73 | |
| | ||||||
* | tests/cli: fix mocked obj assertions for py34/py35 | Tim Harder | 2019-02-27 | 1 | -2/+2 | |
| | ||||||
* | tests/cli: add initial ManHelpAction tests | Tim Harder | 2019-02-26 | 1 | -0/+23 | |
| | ||||||
* | tests/cli: add bool tests for Namespace | Tim Harder | 2019-02-26 | 1 | -0/+6 | |
| | ||||||
* | tests/cli: add argument groups and subparsers checks for CopyableParser | Tim Harder | 2019-02-26 | 1 | -0/+55 | |
| | ||||||
* | tests/test_process_spawn: fix spawn_get_output value checks | Tim Harder | 2019-02-26 | 1 | -1/+1 | |
| | ||||||
* | tests/cli: add initial tests for OptionalsParser and CsvActionsParser | Tim Harder | 2019-02-26 | 1 | -1/+85 | |
| | ||||||
* | tests/cli: add more Copyable parser tests | Tim Harder | 2019-02-26 | 1 | -15/+53 | |
| | ||||||
* | tests/cli/test_arghparse: add basic CopyableParser tests | Tim Harder | 2019-02-26 | 1 | -0/+45 | |
| | ||||||
* | iterables: add initial partition() method | Tim Harder | 2019-02-17 | 1 | -1/+18 | |
| | ||||||
* | bash: read_bash_dict(): discard 'export' token from "export VAR=VALUE" lines | Tim Harder | 2019-01-26 | 1 | -3/+6 | |
| | ||||||
* | mappings: DictMixin: pop(): support using a default value of None | Tim Harder | 2019-01-26 | 1 | -0/+1 | |
| | ||||||
* | tests: drop f-string usage since we still support py34/py35 | Tim Harder | 2019-01-08 | 1 | -2/+2 | |
| | ||||||
* | tests/test_version: fix tests for git data extraction and version formatting | Tim Harder | 2019-01-08 | 1 | -3/+5 | |
| | ||||||
* | tests/cli: add more debug and verbosity argparser tests | Tim Harder | 2019-01-06 | 1 | -10/+63 | |
| | ||||||
* | tests/cli/test_arghparse: make several assertions more specific to data type | Tim Harder | 2019-01-06 | 1 | -6/+6 | |
| | ||||||
* | tests/test_process: use open() from builtins to fix test | Tim Harder | 2018-12-04 | 1 | -1/+1 | |
| | ||||||
* | tests: move eq hash inheritance check back into module | Tim Harder | 2018-10-01 | 2 | -49/+5 | |
| | | | | Since it's used by pkgs using snakeoil such as pkgcore. | |||||
* | tests: Handle lack of namespace permissions gracefully | Michał Górny | 2018-09-22 | 2 | -38/+62 | |
| | ||||||
* | add support for py-3.7 | Tim Harder | 2018-09-21 | 1 | -6/+0 | |
| | ||||||
* | tests: fix cli argparsing stdin test under cibuildwheel env | Tim Harder | 2018-06-15 | 1 | -2/+4 | |
| | ||||||
* | tests: move slot shadowing and other namespace walker tests into their own ↵ | Tim Harder | 2018-06-11 | 3 | -122/+9 | |
| | | | | | | classes Since pkgcore and other modules use these for their own tests. | |||||
* | simplify various super() calls | Tim Harder | 2018-04-11 | 1 | -2/+2 | |
| | ||||||
* | cli.arghparse: large reworking of custom actions | Tim Harder | 2018-04-11 | 1 | -8/+103 | |
| | | | | | Actions have been renamed to help better describe what they do and a few new actions have been added. | |||||
* | sequences: add initial split_elements() method | Tim Harder | 2018-04-11 | 1 | -7/+75 | |
| | | | | | | | Similar to split_negations(), but it supports negative, neutral, and positive elements. Unlike split_negations(), split_elements() classifies non-prefixed tokens as neutral while those starting with '-' and '+' are negative and positive, respectively. | |||||
* | chksum: drop whirlpool support | Tim Harder | 2018-04-11 | 1 | -1/+0 | |
| | | | | | Since gentoo moved away from using it we don't need to support it anymore. | |||||
* | cli.arghparse: add append variants of csv arg parsing actions | Tim Harder | 2018-04-11 | 1 | -27/+41 | |
| | ||||||
* | tests/cli/test_arghparse: fix multi extend comma delimited action testing | Tim Harder | 2018-04-11 | 1 | -6/+6 | |
| | ||||||
* | tests/cli/test_arghparse: split up argparse option tests | Tim Harder | 2018-04-11 | 1 | -8/+29 | |
| | ||||||
* | test: initial conversion from unittest to pytest functionality | Tim Harder | 2018-04-11 | 32 | -1792/+1703 | |
| |