Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Add support for Python 3.5 (#18)
Browse files Browse the repository at this point in the history
* Add support for Python 3.5

* fixup! Add support for Python 3.5

* fixup! Add support for Python 3.5

* fixup! Add support for Python 3.5
  • Loading branch information
dmtucker authored and henry0312 committed Mar 26, 2018
1 parent 7e68d5d commit 15445fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
python:
- "3.5"
- "3.6"
install:
- pip install -e .[tests]
Expand Down
4 changes: 3 additions & 1 deletion pytest_docstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def pytest_addoption(parser):
parser.addini('docstyle_add_ignore', type='args',
help='ignore error codes')
parser.addini('docstyle_match', default=DEFAULT_MATCH_RE,
help=f"check only files that exactly match regular expression (default: {DEFAULT_MATCH_RE})")
help='check only files that exactly match'
' regular expression (default: {pattern})'.format(
pattern=DEFAULT_MATCH_RE))


def pytest_collect_file(parent, path):
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
author_email='henry0312@gmail.com',
license='MIT',
py_modules=['pytest_docstyle'],
python_requires='>=3.6,<4',
python_requires='~=3.5',
install_requires=[
'pytest>=3.0,<4',
'pydocstyle>=2.1,<2.2',
Expand All @@ -40,5 +40,8 @@
'Topic :: Software Development :: Testing',
'License :: OSI Approved :: MIT License',
'Framework :: Pytest',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)

0 comments on commit 15445fe

Please sign in to comment.