Skip to content

Commit 29039aa

Browse files
committed
Update flake8-rst version
Update flake8-rst version to version 0.6.0+. Signed-off-by: Fabian Haase <[email protected]>
1 parent f2839fe commit 29039aa

File tree

5 files changed

+40
-21
lines changed

5 files changed

+40
-21
lines changed

ci/deps/travis-36.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- fastparquet
1010
- flake8>=3.5
1111
- flake8-comprehensions
12-
- flake8-rst=0.4.2
12+
- flake8-rst>=0.6.0
1313
- gcsfs
1414
- geopandas
1515
- html5lib

doc/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
'sphinx.ext.ifconfig',
7575
'sphinx.ext.linkcode',
7676
'nbsphinx',
77+
'flake8_rst.sphinxext.custom_roles',
7778
'contributors', # custom pandas extension
7879
]
7980

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- Cython>=0.28.2
1414
- flake8
1515
- flake8-comprehensions
16-
- flake8-rst=0.4.2
16+
- flake8-rst>=0.6.0
1717
- gitpython
1818
- hypothesis>=3.58.0
1919
- isort

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pytz
44
Cython>=0.28.2
55
flake8
66
flake8-comprehensions
7-
flake8-rst==0.4.2
7+
flake8-rst>=0.6.0
88
gitpython
99
hypothesis>=3.58.0
1010
isort

setup.cfg

+36-18
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,43 @@ exclude =
3131
env # exclude asv benchmark environments from linting
3232

3333
[flake8-rst]
34-
ignore =
35-
F821, # undefined name
36-
W391, # blank line at end of file [Seems to be a bug (v0.4.1)]
34+
ignore = E402, # module level import not at top of file
35+
W503, # line break before binary operator
3736
exclude =
38-
doc/source/whatsnew/v0.7.0.rst
39-
doc/source/whatsnew/v0.10.1.rst
40-
doc/source/whatsnew/v0.12.0.rst
41-
doc/source/whatsnew/v0.13.0.rst
42-
doc/source/whatsnew/v0.13.1.rst
43-
doc/source/whatsnew/v0.14.0.rst
44-
doc/source/whatsnew/v0.15.0.rst
45-
doc/source/whatsnew/v0.16.0.rst
46-
doc/source/whatsnew/v0.16.2.rst
47-
doc/source/whatsnew/v0.17.0.rst
48-
doc/source/whatsnew/v0.18.0.rst
49-
doc/source/whatsnew/v0.18.1.rst
50-
doc/source/whatsnew/v0.20.0.rst
51-
doc/source/whatsnew/v0.21.0.rst
52-
doc/source/whatsnew/v0.23.0.rst
37+
doc/source/whatsnew/*.rst
38+
doc/source/10min.rst
39+
doc/source/advanced.rst
40+
doc/source/basics.rst
41+
doc/source/categorical.rst
42+
doc/source/comparison_with_r.rst
43+
doc/source/comparison_with_sas.rst
44+
doc/source/comparison_with_sql.rst
45+
doc/source/comparison_with_stata.rst
46+
doc/source/computation.rst
47+
doc/source/contributing.rst
48+
doc/source/contributing_docstring.rst
49+
doc/source/cookbook.rst
50+
doc/source/developer.rst
51+
doc/source/dsintro.rst
52+
doc/source/enhancingperf.rst
53+
doc/source/extending.rst
54+
doc/source/gotchas.rst
55+
doc/source/groupby.rst
56+
doc/source/indexing.rst
57+
doc/source/install.rst
58+
doc/source/internals.rst
59+
doc/source/io.rst
60+
doc/source/merging.rst
61+
doc/source/missing_data.rst
62+
doc/source/options.rst
63+
doc/source/release.rst
64+
doc/source/reshaping.rst
65+
doc/source/sparse.rst
66+
doc/source/text.rst
67+
doc/source/timedeltas.rst
68+
doc/source/timeseries.rst
69+
doc/source/visualization.rst
70+
5371

5472
[yapf]
5573
based_on_style = pep8

0 commit comments

Comments
 (0)