Exclude well-known non-code paths from flake8

Also fix a minor flake8 issue in setup.py.
This commit is contained in:
Jon Parise 2017-05-05 09:36:22 -07:00
parent e396725a90
commit 98426e831a
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ markers =
[flake8]
show-source = True
max-line-length = 80
exclude = .tox/*,.venv/*,docs/*
[bumpversion:file:pymemcache/__init__.py]

View File

@ -8,10 +8,10 @@ from pymemcache import __version__
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
readme = read('README.rst')
changelog = read('ChangeLog.rst')
setup(
name='pymemcache',
version=__version__,