Skip to content

Commit

Permalink
Disable too agressive flake8 errors (#3425)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 3, 2018
1 parent 70a1174 commit b02a608
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiohttp/web_urldispatcher.py
Expand Up @@ -758,7 +758,7 @@ class MaskDomain(Domain):

def __init__(self, domain: str) -> None:
super().__init__(domain)
mask = self._domain.replace('.', '\.').replace('*', '.*')
mask = self._domain.replace('.', r'\.').replace('*', '.*')
self._mask = re.compile(mask)

@property
Expand Down
2 changes: 1 addition & 1 deletion requirements/flake.txt
@@ -1,2 +1,2 @@
flake8==3.5.0
flake8==3.6.0
isort==4.3.4
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -11,7 +11,7 @@ max-line-length=79
zip_ok = false

[flake8]
ignore = N801,N802,N803,E226
ignore = N801,N802,N803,E226,W504,E252
max-line-length=79

[isort]
Expand Down

0 comments on commit b02a608

Please sign in to comment.