1
0
mirror of https://github.com/dbcli/pgcli synced 2024-05-31 01:17:54 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Georgy Frolov
61c81b05f5 removed py2-related stuff 2020-03-14 10:53:43 +08:00
Irina Truong
8cb7009bcd
black all the things. (#1049)
* 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-05-25 13:08:56 -07:00
Mikhail Elovskikh
f614cef7ed Support multihost connection string (#978)
* Switch to psycopg2 parse_dsn instead of urlparse

* Added wronglink to contributors and updated changelog

* Fix test codestyle

* Support for PGPORT customization in tests

* Support for PGPORT customization in tests

* Refactored PGExecute init and moved short_host generation to object property

* Fix test util codestyle

* Fix local tests run

* Store PGExecute initial params in  _conn_params and added PGExecute.copy method

* Fix codestyle

* Added docstring to PGExecute.copy() method
2019-01-03 14:27:47 -08:00
Irina Truong
e6e26d558f Revert abs imports in tests. 2018-09-22 22:19:25 +00:00
Irina Truong
683487a873 Attempt to fix failing tests. Add some debug info. Make imports py3-compatible. 2018-09-22 04:03:11 +00:00
Dmitry B
e8e8ff123b comments for 'Use termporary config in tests' 2017-10-06 22:12:22 +03:00
Dmitry B
aa20014213 use temp dir as config location in tests 2017-09-20 23:56:57 +03:00
Dick Marinus
5ab0dbfdea Fix TODO, optionally use POSTGRES_USER, POSTGRES_HOST POSTGRES_PASSWORD from environment 2017-08-18 06:52:29 +02:00
Étienne BERSAC
e124c03575
Fix PEP8 empty line errors 2017-06-14 18:12:05 +02:00
Darik Gamble
6df33e959d exception_formatter returns only status, not the entire results tuple 2015-10-28 10:58:27 -04:00
Darik Gamble
488ac21dae trivial indent fix 2015-10-28 10:58:25 -04:00
Darik Gamble
c9b55ba12e Fix pgexecute tests 2015-10-28 10:58:25 -04:00
Iryna Cherniavska
9a35e5ef05 Started adding "service" option. Connect #289.
Switched to dsn-based approach (no config parsing).
2015-08-13 23:40:11 -07:00
Amjith Ramanujam
d324b27e41 Replace splat import in tests. 2015-01-30 18:59:09 -08:00
Karl-Aksel Puulmann
b7f9c00c21 Fix issues pointed out in pull request comments. 2015-01-09 00:14:18 -08:00
Karl-Aksel Puulmann
a87f3a1fcc Checking if database exists and some initial fixtures which clean up 2015-01-09 00:13:19 -08:00