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
DM-39857: Remove --flake8 option and add ruff config #250
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #250 +/- ##
==========================================
- Coverage 85.57% 85.55% -0.03%
==========================================
Files 47 47
Lines 4251 4244 -7
Branches 732 732
==========================================
- Hits 3638 3631 -7
Misses 459 459
Partials 154 154
☔ View full report in Codecov by Sentry. |
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.
Looks good, few minor comments.
`config`, `config=[Task::]<PATTERN>` or | ||
`config=[Task::]<PATTERN>:NOIGNORECASE` to dump configuration | ||
``config``, ``config=[Task::]<PATTERN>`` or | ||
``config=[Task::]<PATTERN>:NOIGNORECASE`` to dump configuration | ||
fields possibly matching given pattern and/or task label; | ||
`history=<FIELD>` to dump configuration history for a field, field | ||
name is specified as [Task::]<PATTERN>; `dump-config`, | ||
`dump-config=Task` to dump complete configuration for a task given | ||
its label or all tasks; `pipeline` to show pipeline composition; | ||
`graph` to show information about quanta; `workflow` to show | ||
information about quanta and their dependency; `tasks` to show | ||
task composition; `uri` to show predicted dataset URIs of | ||
quanta""" | ||
``history=<FIELD>`` to dump configuration history for a field, | ||
field name is specified as ``[Task::]<PATTERN>;`` ``dump-config``, | ||
``dump-config=Task`` to dump complete configuration for a task | ||
given its label or all tasks; ``pipeline`` to show pipeline | ||
composition; ``graph`` to show information about quanta; | ||
``workflow`` to show information about quanta and their | ||
dependency; ``tasks`` to show task composition; ``uri`` to show | ||
predicted dataset URIs of quanta""" |
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.
Maybe de-indent the whole thing?
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.
Yes, I was trying to work out why it was all like this and failing 😄
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 think that it was initially indented to an opening (
but then black wrapped the initial line but did not de-indent other lines.
This allows butler and pipe_base to be referenced.
Co-authored-by: Andy Salnikov <salnikov@slac.stanford.edu>
Checklist
doc/changes