-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use ruff as a linter #57
Conversation
Codecov Report
@@ Coverage Diff @@
## main #57 +/- ##
=======================================
Coverage 46.88% 46.88%
=======================================
Files 19 19
Lines 3242 3242
=======================================
Hits 1520 1520
Misses 1722 1722
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Great, thank you. Minor comment. Could you add DiamondLightSource/dodal@b980f9b in to this PR too so that the CI is working?
|
||
# A dictionary of graphviz graph attributes for inheritance diagrams. | ||
inheritance_graph_attrs = dict(rankdir="TB") | ||
inheritance_graph_attrs = {"rankdir": "TB"} | ||
|
||
# Common links that should be available on every page | ||
rst_epilog = """ |
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.
Could: The links to flake8
and isort
links here aren't needed
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.
Done
Closes #53 .
Replace isort/flake8 in pre-commits with Ruff.
Also pin builds to 3.11 as p4p doesn't build in 3.12 (stop docs from failing)