summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author赖信涛 <laixintao@users.noreply.github.com>2020-03-12 04:58:13 +0800
committerGitHub <noreply@github.com>2020-03-11 13:58:13 -0700
commitbc7a5d01001df69f9f0c3dfeb94cca92768ab696 (patch)
treee8cc3c885ed287f177963e8032d77d3256d5e4b3
parentfd775497547bb51e3d3b38590cbc83e54afd9508 (diff)
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
-rw-r--r--.travis.yml1
-rw-r--r--changelog.rst1
-rw-r--r--pgcli/pgexecute.py4
-rw-r--r--pyproject.toml2
-rw-r--r--setup.py1
-rw-r--r--tox.ini2
6 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index cd781f71..b0b89ac9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,6 @@ sudo: required
language: python
python:
- - "3.5"
- "3.6"
- "3.7"
diff --git a/changelog.rst b/changelog.rst
index 498719ad..cc7cf941 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -17,6 +17,7 @@ Internal:
* Drop Python3.4 support. (Thanks: `laixintao`_)
* Drop Python2.7 support. (Thanks: `laixintao`_)
+* Drop Python3.5 support. (Thanks: `laixintao`_)
* Fix dead link in development guide. (Thanks: `BrownShibaDog`_)
diff --git a/pgcli/pgexecute.py b/pgcli/pgexecute.py
index 20ef5518..a33afe6f 100644
--- a/pgcli/pgexecute.py
+++ b/pgcli/pgexecute.py
@@ -201,7 +201,7 @@ class PGExecute(object):
host=None,
port=None,
dsn=None,
- **kwargs
+ **kwargs,
):
self._conn_params = {}
self.conn = None
@@ -227,7 +227,7 @@ class PGExecute(object):
host=None,
port=None,
dsn=None,
- **kwargs
+ **kwargs,
):
conn_params = self._conn_params.copy()
diff --git a/pyproject.toml b/pyproject.toml
index 08721a4e..c9bf518c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.black]
line-length = 88
-target-version = ['py35']
+target-version = ['py36']
include = '\.pyi?$'
exclude = '''
/(
diff --git a/setup.py b/setup.py
index ca5367ee..937c2740 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,6 @@ setup(
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: SQL",
diff --git a/tox.ini b/tox.ini
index 9d0865ba..ae55b2bf 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py35, py36, py37
+envlist = py36, py37
[testenv]
deps = pytest>=2.7.0,<=3.0.7
mock>=1.0.1