Merge "Bump the version of hacking to 1.1.0, with few fixes"
This commit is contained in:
commit
31aa7c01f2
@ -120,7 +120,8 @@ class Oozie(s.Service):
|
|||||||
@el.provision_event(instance_reference=1)
|
@el.provision_event(instance_reference=1)
|
||||||
@g.remote_command(1)
|
@g.remote_command(1)
|
||||||
def _rebuild_oozie_war(self, remote, cluster_context):
|
def _rebuild_oozie_war(self, remote, cluster_context):
|
||||||
cmd = 'cp -f /opt/mapr-repository/ext-2.2.zip %(home)s/libext/ext-2.2.zip &&' \
|
cmd = 'cp -f /opt/mapr-repository/ext-2.2.zip ' \
|
||||||
|
'%(home)s/libext/ext-2.2.zip &&' \
|
||||||
' %(home)s/bin/oozie-setup.sh -hadoop %(version)s' \
|
' %(home)s/bin/oozie-setup.sh -hadoop %(version)s' \
|
||||||
' /opt/mapr/hadoop/hadoop-%(version)s'
|
' /opt/mapr/hadoop/hadoop-%(version)s'
|
||||||
args = {'home': self.home_dir(cluster_context),
|
args = {'home': self.home_dir(cluster_context),
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
hacking>=1.1.0 # Apache-2.0
|
||||||
|
|
||||||
PyMySQL>=0.7.6 # MIT License
|
PyMySQL>=0.7.6 # MIT License
|
||||||
bandit>=1.1.0 # Apache-2.0
|
bandit>=1.1.0 # Apache-2.0
|
||||||
|
6
tox.ini
6
tox.ini
@ -128,6 +128,12 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
|||||||
# [H204] Use assert(Not)Equal to check for equality
|
# [H204] Use assert(Not)Equal to check for equality
|
||||||
# [H205] Use assert(Greater|Less)(Equal) for comparison
|
# [H205] Use assert(Greater|Less)(Equal) for comparison
|
||||||
enable-extensions=H904,H106,H203,H204,H205
|
enable-extensions=H904,H106,H203,H204,H205
|
||||||
|
# [E123] Closing bracket does not match indentation of opening bracket's line
|
||||||
|
# [E226] Missing whitespace around arithmetic operator
|
||||||
|
# [E402] Module level import not at top of file
|
||||||
|
# [E731] Do not assign a lambda expression, use a def
|
||||||
|
# [W503] Line break occurred before a binary operator
|
||||||
|
ignore=E123,E226,E402,E731,W503
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = sahara.i18n
|
import_exceptions = sahara.i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user