mirror of https://github.com/k3s-io/k3s
Fixing the errors with verify-boilerplate.
parent
0d577b8e03
commit
ed64773c9c
|
@ -6,7 +6,7 @@ virtualenv:
|
||||||
.venv/bin/pip install -q -r requirements.txt
|
.venv/bin/pip install -q -r requirements.txt
|
||||||
|
|
||||||
lint: virtualenv
|
lint: virtualenv
|
||||||
@.venv/bin/flake8 hooks --exclude=charmhelpers
|
@.venv/bin/flake8 hooks --exclude=charmhelpers --ignore=W391
|
||||||
@.venv/bin/charm proof
|
@.venv/bin/charm proof
|
||||||
|
|
||||||
test: virtualenv
|
test: virtualenv
|
||||||
|
|
|
@ -13,4 +13,4 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# 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.
|
||||||
# noqa
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ def install():
|
||||||
'export GOROOT=/usr/local/go\n',
|
'export GOROOT=/usr/local/go\n',
|
||||||
'export PATH=$PATH:$GOROOT/bin\n',
|
'export PATH=$PATH:$GOROOT/bin\n',
|
||||||
'export KUBERNETES_MASTER=http://{0}:8080\n'.format(address),
|
'export KUBERNETES_MASTER=http://{0}:8080\n'.format(address),
|
||||||
]
|
]
|
||||||
update_rc_files(strings)
|
update_rc_files(strings)
|
||||||
hookenv.log('Downloading kubernetes code')
|
hookenv.log('Downloading kubernetes code')
|
||||||
clone_repository()
|
clone_repository()
|
||||||
|
|
|
@ -6,7 +6,7 @@ virtualenv:
|
||||||
.venv/bin/pip install -q -r requirements.txt
|
.venv/bin/pip install -q -r requirements.txt
|
||||||
|
|
||||||
lint: virtualenv
|
lint: virtualenv
|
||||||
@.venv/bin/flake8 hooks --exclude=charmhelpers
|
@.venv/bin/flake8 hooks --exclude=charmhelpers --ignore=W391
|
||||||
@.venv/bin/charm proof
|
@.venv/bin/charm proof
|
||||||
|
|
||||||
test: virtualenv
|
test: virtualenv
|
||||||
|
|
|
@ -13,4 +13,4 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# 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.
|
||||||
# noqa
|
|
||||||
|
|
Loading…
Reference in New Issue