parent
1587931d42
commit
f867463ed8
4 changed files with 8 additions and 5 deletions
|
@ -6,6 +6,6 @@ matrix:
|
|||
env: TOXENV=lint
|
||||
- python: "3.5"
|
||||
env: TOXENV=lint
|
||||
install: pip install -U tox
|
||||
install: pip install pylint gitpython
|
||||
language: python
|
||||
script: tox
|
||||
script: pylint configurator.py
|
|
@ -1,4 +1,5 @@
|
|||
# HASS Configurator
|
||||
[](https://travis-ci.org/danielperna84/hass-configurator)
|
||||
### Configuration UI for Home Assistant
|
||||
|
||||
Since there currently is no nice way to edit the yaml-files HASS is using through the HASS frontend, I've code-snippet-patchworked this small webapp. It's essentially an embedded [Ace editor](https://ace.c9.io/), which has syntax hightlighting for yaml (and a ton of other features you can turn on and off). Of course there's also an integrated file browser to select whatever file you want to edit. When you're done with editing the file, click the save-button and it will replace the original.
|
||||
|
|
|
@ -2786,8 +2786,8 @@ def check_access(clientip):
|
|||
return False
|
||||
|
||||
class RequestHandler(BaseHTTPRequestHandler):
|
||||
def log_message(self, fmt, *args):
|
||||
LOG.info("%s - %s" % (self.client_address[0], fmt % args))
|
||||
def log_message(self, format, *args):
|
||||
LOG.info("%s - %s" % (self.client_address[0], format % args))
|
||||
return
|
||||
|
||||
def do_BLOCK(self):
|
||||
|
|
2
pylintrc
2
pylintrc
|
@ -19,3 +19,5 @@ disable=
|
|||
unnecessary-pass,
|
||||
anomalous-backslash-in-string,
|
||||
redefined-variable-type,
|
||||
redefined-builtin,
|
||||
no-else-return,
|
Loading…
Add table
Add a link
Reference in a new issue