File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1+ Allow installing on older minior versions of Py3.5. Looking at you Debian.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ include_package_data = True
3333package_dir =
3434 =src
3535packages = find:
36- python_requires = >= 3.5.6
36+ python_requires = >= 3.5
3737setup_requires =
3838 setuptools>=50.3.2
3939 setuptools_scm[toml]>=3.4
@@ -70,6 +70,7 @@ owner = root
7070group = root
7171
7272[flake8]
73+ min_python_version = 3.5.6
7374max-line-length = 120
7475exclude =
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
121124builtins =
You can’t perform that action at this time.
0 commit comments