Exclude well-known non-code paths from flake8
Also fix a minor flake8 issue in setup.py.
This commit is contained in:
@@ -23,6 +23,7 @@ markers =
|
|||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
max-line-length = 80
|
max-line-length = 80
|
||||||
|
exclude = .tox/*,.venv/*,docs/*
|
||||||
|
|
||||||
[bumpversion:file:pymemcache/__init__.py]
|
[bumpversion:file:pymemcache/__init__.py]
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -8,10 +8,10 @@ from pymemcache import __version__
|
|||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
|
|
||||||
|
|
||||||
readme = read('README.rst')
|
readme = read('README.rst')
|
||||||
changelog = read('ChangeLog.rst')
|
changelog = read('ChangeLog.rst')
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='pymemcache',
|
name='pymemcache',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
|
|||||||
Reference in New Issue
Block a user