Skip to content

Create main.yml

Create main.yml #1

Re-run triggered May 6, 2024 21:35
Status Success
Total duration 20s
Artifacts

main.yml

on: push
Run linters
10s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 2 warnings
co2intensity.py#L3
Expected 2 blank lines, found 1 (E302)
co2intensity.py#L4
Indentation is not a multiple of 4 (E111)
co2intensity.py#L5
Indentation is not a multiple of 4 (E111)
co2intensity.py#L5
Line too long (96 > 79 characters) (E501)
co2intensity.py#L6
Indentation is not a multiple of 4 (E111)
co2intensity.py#L7
Indentation is not a multiple of 4 (E111)
co2intensity.py#L9
Indentation is not a multiple of 4 (E111)
co2intensity.py#L11
Expected 2 blank lines, found 1 (E302)
co2intensity.py#L12
Indentation is not a multiple of 4 (E111)
co2intensity.py#L13
Indentation is not a multiple of 4 (E111)
co2intensity.py#L13
Line too long (113 > 79 characters) (E501)
co2intensity.py#L14
Indentation is not a multiple of 4 (E111)
co2intensity.py#L16
Indentation is not a multiple of 4 (E111)
co2intensity.py#L17
Trailing whitespace (W291)
co2intensity.py#L18
Indentation is not a multiple of 4 (E111)
co2intensity.py#L18
Line too long (81 > 79 characters) (E501)
co2intensity.py#L19
Indentation is not a multiple of 4 (E111)
co2intensity.py#L19
Line too long (82 > 79 characters) (E501)
co2intensity.py#L20
Indentation is not a multiple of 4 (E111)
co2intensity.py#L20
Line too long (119 > 79 characters) (E501)
co2intensity.py#L22
Indentation is not a multiple of 4 (E111)
co2intensity.py#L23
Indentation is not a multiple of 4 (comment) (E114)
co2intensity.py#L24
Indentation is not a multiple of 4 (E111)
co2intensity.py#L24
Line too long (113 > 79 characters) (E501)
co2intensity.py#L25
Indentation is not a multiple of 4 (E111)
co2intensity.py#L27
Indentation is not a multiple of 4 (E111)
co2intensity.py#L29
Expected 2 blank lines, found 1 (E302)
co2intensity.py#L29
Line too long (102 > 79 characters) (E501)
co2intensity.py#L31
Indentation is not a multiple of 4 (E111)
co2intensity.py#L32
Indentation is not a multiple of 4 (E111)
co2intensity.py#L33
Indentation is not a multiple of 4 (E111)
co2intensity.py#L35
Expected 2 blank lines after class or function definition, found 1 (E305)
co2intensity.py#L36
Indentation is not a multiple of 4 (E111)
co2intensity.py#L38
Indentation is not a multiple of 4 (E111)
co2intensity.py#L39
Indentation is not a multiple of 4 (comment) (E114)
co2intensity.py#L41
Indentation is not a multiple of 4 (E111)
co2intensity.py#L41
No newline at end of file (W292)
datasource.py#L8
'os' imported but unused (F401)
datasource.py#L9
'requests' imported but unused (F401)
datasource.py#L13
Expected 2 blank lines, found 1 (E302)
datasource.py#L15
Indentation is not a multiple of 4 (E111)
datasource.py#L16
Indentation is not a multiple of 4 (E111)
datasource.py#L18
Indentation is not a multiple of 4 (E111)
datasource.py#L20
Indentation is not a multiple of 4 (E111)
datasource.py#L22
Expected 2 blank lines, found 1 (E302)
datasource.py#L22
Missing whitespace after ':' (E231)
datasource.py#L23
Indentation is not a multiple of 4 (E111)
datasource.py#L24
Indentation is not a multiple of 4 (E111)
datasource.py#L26
Indentation is not a multiple of 4 (E111)
datasource.py#L27
Blank line contains whitespace (W293)
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v1, wearerequired/lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/