Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 1ec7c45

Browse files
authored
Merge branch 'master' into fix-match
2 parents da919fd + 0a78a1d commit 1ec7c45

File tree

9 files changed

+16
-11
lines changed

9 files changed

+16
-11
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [macos-latest, ubuntu-latest, windows-latest]
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
1212

1313
steps:
1414
- uses: actions/checkout@v2

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ docstring conventions.
3232
`PEP 257 <http://www.python.org/dev/peps/pep-0257/>`_ out of the box, but it
3333
should not be considered a reference implementation.
3434

35-
**pydocstyle** supports Python 3.6, 3.7, 3.8 and 3.9.
35+
**pydocstyle** supports Python 3.6+.
3636

3737

3838
Quick Start

docs/release_notes.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Current Development Version
1010

1111
New Features
1212

13-
* Add support for `property_decorators` config to ignore D401
13+
* Add support for `property_decorators` config to ignore D401.
14+
* Add support for Python 3.10 (#554).
1415

1516
Bug Fixes
1617

requirements/tests.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
pytest==3.0.2
2-
pytest-pep8==1.0.6
1+
pytest==6.2.5
32
mypy==0.782
43
black==20.8b1
54
isort==5.4.2

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
'Programming Language :: Python :: 3.7',
3131
'Programming Language :: Python :: 3.8',
3232
'Programming Language :: Python :: 3.9',
33+
'Programming Language :: Python :: 3.10',
3334
'Programming Language :: Python :: 3 :: Only',
3435
'Operating System :: OS Independent',
3536
'License :: OSI Approved :: MIT License',

src/tests/test_decorators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Unit test for pydocstyle module decorator handling.
22
3-
Use tox or py.test to run the test suite.
3+
Use tox or pytest to run the test suite.
44
"""
55

66
import io

src/tests/test_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Use tox or py.test to run the test-suite."""
1+
"""Use tox or pytest to run the test-suite."""
22

33
from collections import namedtuple
44

src/tests/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Unit test for pydocstyle utils.
22
3-
Use tox or py.test to run the test suite.
3+
Use tox or pytest to run the test suite.
44
"""
55
from pydocstyle import utils
66

tox.ini

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# install tox" and then run "tox" from this directory.
55

66
[tox]
7-
envlist = {py36,py37,py38,py39}-{tests,install},docs,install,py36-docs
7+
envlist = py{36,37,38,39,310}-{tests,install},docs,install,py36-docs
88

99
[testenv]
1010
download = true
@@ -13,9 +13,9 @@ download = true
1313
setenv =
1414
LC_ALL=en_US.UTF-8
1515
LANG=en_US.UTF-8
16-
# To pass arguments to py.test, use `tox [options] -- [pytest posargs]`.
16+
# To pass arguments to pytest, use `tox [options] -- [pytest posargs]`.
1717
commands =
18-
py.test --pep8 --cache-clear -vv src/tests {posargs}
18+
pytest --cache-clear -vv src/tests {posargs}
1919
mypy --config-file=tox.ini src/
2020
black --check src/pydocstyle
2121
isort --check src/pydocstyle
@@ -61,6 +61,10 @@ commands = {[testenv:install]commands}
6161
skip_install = {[testenv:install]skip_install}
6262
commands = {[testenv:install]commands}
6363

64+
[testenv:py310-install]
65+
skip_install = {[testenv:install]skip_install}
66+
commands = {[testenv:install]commands}
67+
6468
[pytest]
6569
pep8ignore =
6670
test.py E701 E704

0 commit comments

Comments
 (0)