Skip to content

Commit

Permalink
chore: add pydocstyle options (#524)
Browse files Browse the repository at this point in the history
run checks when pydocstyle>=2.0 is installed (not added to CI yet)
  • Loading branch information
cdiener authored and hredestig committed Jun 13, 2017
1 parent 92fd667 commit 66a6255
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
(?P<release>[a]*)(?P<num>\d*)
serialize =
serialize =
{major}.{minor}.{patch}{release}{num}
{major}.{minor}.{patch}
tag_name = {new_version}

[bumpversion:part:release]
optional_value = placeholder
first_value = placeholder
values =
values =
placeholder
a

Expand All @@ -35,6 +35,8 @@ exclude = __init__.py,docs

[pydocstyle]
match_dir = cobra
convention = numpy
match = (?!test_).*\.py

[aliases]
test = pytest
Expand All @@ -49,4 +51,3 @@ line_length = 79
multi_line_output = 4
known_third_party = future,six
known_first_party = cobra

0 comments on commit 66a6255

Please sign in to comment.