Skip to content

Commit 3619b43

Browse files
authored
update the supported versions of sphinx (#40)
* start testing `sphinx=4.0` * drop support for `sphinx=3.2` * require sphinx>=3.3 * update the linter configuration * update whats-new.rst * convert the versions to string
1 parent 100a75b commit 3619b43

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: [3.7, 3.8, 3.9]
17-
sphinx-version: [3.2, 3.3, 3.4, 3.5]
16+
python-version: ['3.7', '3.8', '3.9']
17+
sphinx-version: ['3.3', '3.4', '3.5', '4.0']
1818

1919
steps:
2020
- name: checkout the repository

docs/whats-new.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ v0.3 (*unreleased*)
55
-------------------
66
- don't fail on options which are not parameters to the render function (:pull:`38`)
77
- drop support for python 3.6 (:pull:`39`)
8+
- drop support for ``sphinx=3.2`` and start testing ``sphinx=4.0`` (:pull:`40`)
89

910
v0.2 (2021-03-06)
1011
-----------------

setup.cfg

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,26 @@ project_urls =
1414
packages = find:
1515
python_requires = >=3.7
1616
install_requires =
17-
sphinx>=3.2
17+
sphinx>=3.3
1818
importlib-metadata; python_version < "3.8"
1919

2020
[options.package_data]
2121
sphinx_autosummary_accessors = templates/autosummary/*.rst
2222

2323
[flake8]
2424
ignore =
25-
# whitespace before ':' - doesn't work well with black
26-
E203
27-
E402
28-
# line too long - let black worry about that
29-
E501
30-
# do not assign a lambda expression, use a def
31-
E731
32-
# line break before binary operator
33-
W503
25+
E203 # whitespace before ':' - doesn't work well with black
26+
E402 # module level import not at top of file
27+
E501 # line too long - let black worry about that
28+
E731 # do not assign a lambda expression, use a def
29+
W503 # line break before binary operator
3430
exclude=
3531
.eggs
3632
docs
3733

3834
[isort]
35+
profile = black
36+
skip_gitignore = true
37+
force_to_top = true
3938
default_section = THIRDPARTY
4039
known_first_party = sphinx_autosummary_accessors
41-
multi_line_output = 3
42-
include_trailing_comma = True
43-
force_grid_wrap = 0
44-
use_parentheses = True
45-
line_length = 88

0 commit comments

Comments
 (0)