Skip to content

handle battery from update event #3

handle battery from update event

handle battery from update event #3

GitHub Actions / Flake8 failed Oct 2, 2023 in 0s

770 errors

Flake8 found 770 errors

Annotations

Check failure on line 18 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L18

'string' imported but unused (F401)

Check failure on line 22 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L22

'time' imported but unused (F401)

Check failure on line 23 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L23

'datetime' imported but unused (F401)

Check failure on line 24 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L24

're' imported but unused (F401)

Check failure on line 25 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L25

'typing.Any' imported but unused (F401)

Check failure on line 27 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L27

'optparse.OptionParser' imported but unused (F401)

Check failure on line 28 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L28

'os.path.join' imported but unused (F401)

Check failure on line 34 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L34

'from jeedom.jeedom import *' used; unable to detect undefined names (F403)

Check failure on line 42 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L42

Whitespace before ':' (E203)

Check failure on line 49 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L49

Missing whitespace after ',' (E231)

Check failure on line 49 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L49

Missing whitespace after ',' (E231)

Check failure on line 71 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L71

'utcnow' may be undefined, or defined from star imports: jeedom.jeedom (F405)

Check failure on line 110 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L110

Do not use bare 'except' (E722)

Check failure on line 157 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L157

'jeedom_utils' may be undefined, or defined from star imports: jeedom.jeedom (F405)

Check failure on line 173 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L173

'jeedom_utils' may be undefined, or defined from star imports: jeedom.jeedom (F405)

Check failure on line 174 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L174

'jeedom_com' may be undefined, or defined from star imports: jeedom.jeedom (F405)

Check failure on line 177 in resources/ajaxSystemd/ajaxSystemd.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/ajaxSystemd.py#L177

Line too long (91 > 79 characters) (E501)

Check failure on line 17 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L17

'time' imported but unused (F401)

Check failure on line 24 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L24

'os.path.join' imported but unused (F401)

Check failure on line 25 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L25

'socket' imported but unused (F401)

Check failure on line 29 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L29

'signal' imported but unused (F401)

Check failure on line 35 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L35

Expected 2 blank lines, found 1 (E302)

Check failure on line 36 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L36

Indentation contains tabs (W191)

Check failure on line 36 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L36

Missing whitespace after ',' (E231)

Check failure on line 36 in resources/ajaxSystemd/jeedom/jeedom.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

resources/ajaxSystemd/jeedom/jeedom.py#L36

Unexpected spaces around keyword / parameter equals (E251)