1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-11-23 20:26:31 +03:00

Drop Python3.5. (#1154)

* Drop Python3.5.

* delete 3.5 from setup.py

* fix black format. Using python3.7 for development now.

* black target to py36
This commit is contained in:
赖信涛 2020-03-12 04:58:13 +08:00 committed by GitHub
parent fd77549754
commit bc7a5d0100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 6 deletions

View File

@ -5,7 +5,6 @@ sudo: required
language: python language: python
python: python:
- "3.5"
- "3.6" - "3.6"
- "3.7" - "3.7"

View File

@ -17,6 +17,7 @@ Internal:
* Drop Python3.4 support. (Thanks: `laixintao`_) * Drop Python3.4 support. (Thanks: `laixintao`_)
* Drop Python2.7 support. (Thanks: `laixintao`_) * Drop Python2.7 support. (Thanks: `laixintao`_)
* Drop Python3.5 support. (Thanks: `laixintao`_)
* Fix dead link in development guide. (Thanks: `BrownShibaDog`_) * Fix dead link in development guide. (Thanks: `BrownShibaDog`_)

View File

@ -201,7 +201,7 @@ class PGExecute(object):
host=None, host=None,
port=None, port=None,
dsn=None, dsn=None,
**kwargs **kwargs,
): ):
self._conn_params = {} self._conn_params = {}
self.conn = None self.conn = None
@ -227,7 +227,7 @@ class PGExecute(object):
host=None, host=None,
port=None, port=None,
dsn=None, dsn=None,
**kwargs **kwargs,
): ):
conn_params = self._conn_params.copy() conn_params = self._conn_params.copy()

View File

@ -1,6 +1,6 @@
[tool.black] [tool.black]
line-length = 88 line-length = 88
target-version = ['py35'] target-version = ['py36']
include = '\.pyi?$' include = '\.pyi?$'
exclude = ''' exclude = '''
/( /(

View File

@ -48,7 +48,6 @@ setup(
"Operating System :: Unix", "Operating System :: Unix",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: SQL", "Programming Language :: SQL",

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py35, py36, py37 envlist = py36, py37
[testenv] [testenv]
deps = pytest>=2.7.0,<=3.0.7 deps = pytest>=2.7.0,<=3.0.7
mock>=1.0.1 mock>=1.0.1