-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade ruff in pre commit to 0.9.1 #9712
Conversation
4a8fc94
to
65f34db
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9712 +/- ##
==========================================
- Coverage 91.76% 91.72% -0.05%
==========================================
Files 426 426
Lines 26542 26549 +7
==========================================
- Hits 24356 24351 -5
- Misses 2186 2198 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
CodSpeed Performance ReportMerging #9712 will not alter performanceComparing Summary
|
Looks good, but could you reverse the commit order to make every commit passing tests? |
I planned on squashing them, was just unsure if it was best to use |
src/everest/simulator/__init__.py
Outdated
@@ -4,7 +4,7 @@ | |||
JOB_FAILURE = "Failed" | |||
|
|||
|
|||
DEFAULT_DATA_SUMMARY_KEYS = ("YEAR", "YEARSTCPU", "TCPUDAY", "MONTH", "DAY") | |||
DEFAULT_DATA_SUMMARY_KEYS = ("YEAR", "YEARS", "TCPU", "TCPUDAY", "MONTH", "DAY") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth another issue to track down why this was not caught in tests earlier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create another issue and fix it in a seperate pr aswell.
NamedTupe is fine |
53e9374
to
21cc24a
Compare
Mainly formatting changes, there is also the change to PluginMetadate into a dataclass based on the following rule https://docs.astral.sh/ruff/rules/class-as-data-structure/, but could also ignore this rule if we want to.
git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"'
)When applicable