chore(deps): bump ruff from 0.4.3 to 0.7.1 #11494
CI.yml
on: pull_request
Setup
7s
Prettier
25s
Frontend / Validate Translation Files
0s
Frontend / Validate Escaped Quotes in Translation Files
0s
Python / Formatting
21s
Python / Tests
53s
Validate / Config filenames
0s
Validate
/
Markdown links
Frontend / Unit tests
0s
Frontend / ESLint
0s
Frontend / Typecheck
0s
Frontend / Validate generated files
0s
earthly
/
run-tests
2m 23s
JSONLint
0s
Matrix: CodeQL / Analyze
Deploy preview
/
Deploy preview
Frontend / Build / Storybook
0s
Frontend / Cypress / Component
0s
Frontend / Cypress / E2E
0s
Annotations
5 errors and 2 warnings
Ruff (SIM103):
parsers/ELEXON.py#L481
parsers/ELEXON.py:481:5: SIM103 Return the condition `not "gas" not in set(available_production_modes)` directly
|
Ruff (SIM103):
parsers/IN_WE.py#L41
parsers/IN_WE.py:41:5: SIM103 Return the condition `current_day in expected_outage_days` directly
|
Ruff (SIM103):
parsers/OPENNEM.py#L123
parsers/OPENNEM.py:123:9: SIM103 Return the condition directly
|
Ruff (E721):
parsers/lib/quality.py#L78
parsers/lib/quality.py:78:8: E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks
|
Python / Formatting
Process completed with exit code 1.
|
CodeQL / Analyze (javascript)
The setup-python-dependencies input is deprecated and no longer has any effect. We recommend removing any references from your workflows. See https://github.blog/changelog/2024-01-23-codeql-2-16-python-dependency-installation-disabled-new-queries-and-bug-fixes/ for more information.
|
CodeQL / Analyze (python)
The setup-python-dependencies input is deprecated and no longer has any effect. We recommend removing any references from your workflows. See https://github.blog/changelog/2024-01-23-codeql-2-16-python-dependency-installation-disabled-new-queries-and-bug-fixes/ for more information.
|