summaryrefslogtreecommitdiffstats
path: root/tests/parseutils
AgeCommit message (Collapse)Author
2022-10-13Changed destructive_warning to take a list of destructive commands (#1328)Rodrigo Neri (Rigo)
* Changed destructive_warning to take a list of destructive commands and added the dsn_alias as part of the destructive command warning * Updated parse_destructive_warning to handle None * Reverted auto formatted change to AUTHORS * Reverted auto formatted change to AUTHORS
2021-02-12Finer control over destructive warning. (#1242)Irina Truong
* Finer control over destructive warning. * Review feedback. * Changelog. * Run integration tests with --warn=moderate. * Fix typo. * Black.
2021-02-12Modernize code to Python 3.6+ (#1229)Miroslav Šedivý
1. `class A(object)` can be written as `class A:` 2. replace `dict([…])` and `set([…])` with `{…}` 3. use f-strings or compact `.format` 4. use `yield from` instead of `yield` in a `for` loop 5. import `mock` from `unittest` 6. expect `OSError` instead of `IOError` or `select` error 7. use Python3 defaults for file reading or `super()` 8. remove redundant parenthesis (keep those in tuples though) 9. shorten set intersection instead of creating lists 10. backslashes in strings do not have to be escaped if prepended with `r`
2019-05-25black all the things. (#1049)Irina Truong
* added black to develop guide * no need for pep8radius. * changelog. * Add pre-commit checkbox. * Add pre-commit to dev reqs. * Add pyproject.toml for black. * Pre-commit config. * Add black to travis and dev reqs. * Install and run black in travis. * Remove black from dev reqs. * Lower black target version. * Re-format with black.
2019-01-02Remove some functions completions (#982)Irina Truong
Remove extension and private functions from completer.
2017-06-25Include arguments in function completionsJoakim Koljonen
E.g. instead of suggesting `my_func()`, suggest `my_func(arg1 :=, arg2 :=)` or `my_func(arg1 text, arg2 bigint)`, depending on the context.
2017-06-14Fix PEP8 empty line errorsÉtienne BERSAC
2016-07-27Add parseutils module for processing CTEs (not hooked up yet)Darik Gamble
2016-07-27Move parseutils tests into test subfolderDarik Gamble