Update hacking version
Use latest release 1.1.0 Change-Id: I0cac5ed78ea95da34364a67bf4c2763d67cf19eb Co-Authored-By: Shu Muto <shu.mutow@gmail.com>
This commit is contained in:
parent
af2835fd4f
commit
1ed0df5e37
@ -1 +1 @@
|
|||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||||
|
@ -11,9 +11,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Glance Release Notes documentation build configuration file, created by
|
from {{cookiecutter.module_name}} import version as ui_ver
|
||||||
# sphinx-quickstart on Tue Nov 3 17:40:50 2015.
|
|
||||||
#
|
|
||||||
# This file is execfile()d with the current directory set to its
|
# This file is execfile()d with the current directory set to its
|
||||||
# containing dir.
|
# containing dir.
|
||||||
#
|
#
|
||||||
@ -61,7 +60,6 @@ copyright = u'2017, OpenStack Foundation'
|
|||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
from {{cookiecutter.module_name}} import version as ui_ver
|
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = ui_ver.version_info.release_string()
|
release = ui_ver.version_info.release_string()
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# be installed in a specific order.
|
# be installed in a specific order.
|
||||||
#
|
#
|
||||||
# Hacking should appear first in case something else depends on pep8
|
# Hacking should appear first in case something else depends on pep8
|
||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
||||||
|
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
mock>=2.0.0 # BSD
|
mock>=2.0.0 # BSD
|
||||||
|
@ -33,6 +33,7 @@ basepython = python3
|
|||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
ignore = F405
|
||||||
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,node_modules
|
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,node_modules
|
||||||
max-complexity = 20
|
max-complexity = 20
|
||||||
|
|
||||||
|
@ -11,19 +11,19 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
# Default to Horizons test settings to avoid any missing keys
|
# Default to Horizons test settings to avoid any missing keys
|
||||||
from horizon.test.settings import * # noqa: F403,H303
|
from horizon.test.settings import * # noqa
|
||||||
from openstack_dashboard.test.settings import * # noqa: F403,H303
|
from openstack_dashboard.test.settings import * # noqa
|
||||||
|
|
||||||
# pop these keys to avoid log warnings about deprecation
|
|
||||||
# update_dashboards will populate them anyway
|
|
||||||
HORIZON_CONFIG.pop('dashboards', None)
|
|
||||||
HORIZON_CONFIG.pop('default_dashboard', None)
|
|
||||||
|
|
||||||
# Update the dashboards with {{cookiecutter.module_name}}
|
# Update the dashboards with {{cookiecutter.module_name}}
|
||||||
import {{cookiecutter.module_name}}.enabled
|
import {{cookiecutter.module_name}}.enabled
|
||||||
import openstack_dashboard.enabled
|
import openstack_dashboard.enabled
|
||||||
from openstack_dashboard.utils import settings
|
from openstack_dashboard.utils import settings
|
||||||
|
|
||||||
|
# pop these keys to avoid log warnings about deprecation
|
||||||
|
# update_dashboards will populate them anyway
|
||||||
|
HORIZON_CONFIG.pop('dashboards', None)
|
||||||
|
HORIZON_CONFIG.pop('default_dashboard', None)
|
||||||
|
|
||||||
settings.update_dashboards(
|
settings.update_dashboards(
|
||||||
[
|
[
|
||||||
{{cookiecutter.module_name}}.enabled,
|
{{cookiecutter.module_name}}.enabled,
|
||||||
|
Loading…
Reference in New Issue
Block a user