pycodestyle fixes

This commit is contained in:
Jeff Widman
2020-02-18 01:21:26 -08:00
parent a5cb5a709f
commit 39ac97a7e0
2 changed files with 5 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except:
except Exception:
README = ''
CHANGES = ''
@@ -26,8 +26,9 @@ setup(
zip_safe=False,
platforms='any',
include_package_data=True,
packages=['flask_debugtoolbar',
'flask_debugtoolbar.panels'
packages=[
'flask_debugtoolbar',
'flask_debugtoolbar.panels'
],
install_requires=[
'Flask>=0.8',

View File

@@ -1,5 +1,6 @@
import pytest
@pytest.fixture(autouse=True)
def mock_env_development(monkeypatch):
monkeypatch.setenv("FLASK_ENV", "development")