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

Commit

Permalink
fix invalid escape sequence (#445)
Browse files Browse the repository at this point in the history
* fix invalid escape sequence

* update release notes
  • Loading branch information
dirk-thomas authored and Nurdok committed Jan 8, 2020
1 parent 05e6205 commit f1b2089
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ Release Notes
**pydocstyle** version numbers follow the
`Semantic Versioning <http://semver.org/>`_ specification.

Current Development Version
---------------------------

Bug Fixes

* Fix ``DeprecationWarning`` / ``SyntaxError`` "invalid escape sequence" with
Python 3.6+ (#445).

5.0.1 - December 9th, 2019
--------------------------

Expand Down
4 changes: 2 additions & 2 deletions src/pydocstyle/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class ConfigurationParser:
'ignore-decorators')
BASE_ERROR_SELECTION_OPTIONS = ('ignore', 'select', 'convention')

DEFAULT_MATCH_RE = '(?!test_).*\.py'
DEFAULT_MATCH_DIR_RE = '[^\.].*'
DEFAULT_MATCH_RE = r'(?!test_).*\.py'
DEFAULT_MATCH_DIR_RE = r'[^\.].*'
DEFAULT_IGNORE_DECORATORS_RE = ''
DEFAULT_CONVENTION = conventions.pep257

Expand Down

0 comments on commit f1b2089

Please sign in to comment.