Skip to content

Commit

Permalink
Remove support for Python 3.6 (#881)
Browse files Browse the repository at this point in the history
* Remove support for Python 3.6

* Fix Python version
  • Loading branch information
fepegar authored May 15, 2022
1 parent b213a6d commit cc9ccb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ repos:
hooks:
- id: python-check-blanket-noqa # enforce that noqa annotations always occur with specific codes
- id: python-no-log-warn # check for the deprecated .warn() method of python loggers
- id: python-use-type-annotations # enforce that python3.6+ type annotations are used instead of type comments
- id: python-use-type-annotations # enforce that type annotations are used instead of type comments
- id: rst-backticks # detect common mistake of using single backticks when writing rst
# - id: rst-inline-touching-normal # detect mistake of inline code touching normal text in rst
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
hooks:
- id: pyupgrade
args: ['--py36-plus']
args: ['--py37-plus']
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@
setup(
author='Fernando Perez-Garcia',
author_email='fepegar@gmail.com',
python_requires='>=3.6',
python_requires='>=3.7',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{36, 37, 38, 39, 310}
envlist = py{37, 38, 39, 310}

[testenv]
deps =
Expand Down

0 comments on commit cc9ccb3

Please sign in to comment.