Skip to content

Commit 00e0938

Browse files
committed
Allow installing on older minior versions of Py3.5.
Looking at you Debian. Fixes #10 Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
1 parent d121f7e commit 00e0938

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ repos:
114114
hooks:
115115
- id: flake8
116116
exclude: ^(src/pytestskipmarkers/(downgraded/.*|version\.py)|\.pre-commit-hooks/.*\.py)$
117+
args:
118+
- --min-python-version=3.5.6
117119
additional_dependencies:
118120
- flake8-mypy-fork
119121
- flake8-docstrings

changelog/10.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Allow installing on older minior versions of Py3.5. Looking at you Debian.

setup.cfg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ include_package_data = True
3333
package_dir =
3434
=src
3535
packages = find:
36-
python_requires = >= 3.5.6
36+
python_requires = >= 3.5
3737
setup_requires =
3838
setuptools>=50.3.2
3939
setuptools_scm[toml]>=3.4
@@ -70,6 +70,7 @@ owner = root
7070
group = root
7171

7272
[flake8]
73+
min_python_version = 3.5.6
7374
max-line-length = 120
7475
exclude =
7576
# No need to traverse our git directory
@@ -115,7 +116,9 @@ ignore =
115116
# D200 One-line docstring should fit on one line with quotes
116117
D200,
117118
# W503 line break before binary operator
118-
W503
119+
W503,
120+
# TYP001 guard import by TYPE_CHECKING
121+
TYP001
119122

120123
# Additional builtins
121124
builtins =

0 commit comments

Comments
 (0)