follow PEP 263
paulfantom committed
Jun 21, 2016 at 10:02 UTC
31698d155efd0a0fc4df3be855b28afe163fe8ea
5 files changed
+6
-2
plugins.d/python.d.plugin
+1
@@ -1,4 +1,5 @@
1
#!/usr/bin/env python
2
+# -*- coding: utf-8 -*-
3
4
# Description: netdata python modules supervisor
5
# Author: Pawel Krupa (paulfantom)
python.d/example.chart.py
+1
@@ -1,3 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
# Description: example netdata python.d plugin
3
# Author: Pawel Krupa (paulfantom)
4
python.d/mysql.chart.py
+1
@@ -1,3 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
# Description: MySQL netdata python.d plugin
3
# Author: Pawel Krupa (paulfantom)
4
python.d/pip_install.sh
+2
-2
@@ -2,6 +2,6 @@
2
3
PIP=`which pip`
4
5
-$PIP install --target="python_modules" yaml
5
+${PIP} install --target="python_modules" yaml
6
7
-$PIP install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"
7
+${PIP} install --target="python_modules" MySQL-python || echo "You need to install libmysqlclient-dev and python-dev"
python.d/python_modules/base.py
+1
@@ -1,3 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
# Description: base for netdata python.d plugins
3
# Author: Pawel Krupa (paulfantom)
4