If I do it "charm proof" show me error:
E: subordinates must have at least one scope: container relation
2. Right now I have only one lint error "E402 module level import not at top of file"
And this error appears in my module and native unit_tests template
unit_tests/test_actions.py:10:1: E402 module level import not at top of file
# allow importing actions from the hooks directory
sys.path.append(resource_filename(__name__, '../hooks'))
import actions
My module import some methods from charmhelpers and how I can avoid this error?
1. CINDER-NEDGE charm
Looks like I can't remove this section
requires:
juju-info:
interface: juju-info
scope: container
If I do it "charm proof" show me error:
E: subordinates must have at least one scope: container relation
2. Right now I have only one lint error "E402 module level import not at top of file" tests/test_ actions. py:10:1: E402 module level import not at top of file
And this error appears in my module and native unit_tests template
unit_
# allow importing actions from the hooks directory path.append( resource_ filename( __name_ _, '../hooks'))
sys.
import actions
My module import some methods from charmhelpers and how I can avoid this error?