mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-05 13:09:45 -06:00
pycodestyle fixes
This commit is contained in:
7
setup.py
7
setup.py
@@ -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',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_env_development(monkeypatch):
|
||||
monkeypatch.setenv("FLASK_ENV", "development")
|
||||
|
||||
Reference in New Issue
Block a user