Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ check_branch_name:

check_todos_have_issues:
# The code should not have TODOs without issue tracking. Format that must be followed is:
# TODO #<issue_number>: <description>
git ls-files | grep -P '\.rs$$' | xargs grep -Pi 'TODO(?! #\d+: \w+)' || exit 0; exit 1
# TODO(#<issue_number>): <description>
git ls-files | grep -P '\.rs$$' | xargs grep -Pi 'TODO(?!\(#\d+\): \w+)' || exit 0; exit 1

check_no_fixme:
# The code should not have FIXME comments
Expand Down
6 changes: 3 additions & 3 deletions demo/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl eframe::App for DemoGallery {

impl DemoGallery {
// Width of a column in the thumbnails panel.
// TODO #193: I don't know what units this corresponds to, and should be
// TODO(#193): I don't know what units this corresponds to, and should be
// cleaned up.
const COL_WIDTH: f32 = 128.0;

Expand Down Expand Up @@ -89,7 +89,7 @@ impl DemoGallery {
// Set min_width so the heading is well rendered.
.min_width(100.0)
// 3 columns + some space extra for buttons.
// TODO #193: get rid of "extra space" calc.
// TODO(#193): get rid of "extra space" calc.
.max_width(Self::COL_WIDTH * 3. + 30.)
.resizable(true)
.show(ctx, |ui| {
Expand Down Expand Up @@ -191,7 +191,7 @@ impl DemoGallery {

let button = {
let texture = &self.thumbnail_textures[index];
// TODO #193: I don't know what units this corresponds to, and should be
// TODO(#193): I don't know what units this corresponds to, and should be
// cleaned up.
let image = egui::Image::new((texture.id(), Vec2::splat(110.0 * scale)));
let mut button = egui::Button::image(image);
Expand Down
2 changes: 1 addition & 1 deletion egui_plot/src/axis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ impl<'a> AxisWidget<'a> {

match HPlacement::from(self.hints.placement) {
HPlacement::Left => {
let angle = 0.0; // TODO #162: allow users to rotate text
let angle = 0.0; // TODO(#162): allow users to rotate text

if angle == 0.0 {
let x = self.rect.max.x - galley_size.x + SIDE_MARGIN;
Expand Down
2 changes: 1 addition & 1 deletion egui_plot/src/items/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Contains items that can be added to a plot.
#![expect(clippy::type_complexity)] // TODO #163: simplify some of the callback types with type aliases
#![expect(clippy::type_complexity)] // TODO(#163): simplify some of the callback types with type aliases

use std::ops::RangeInclusive;

Expand Down
Loading
Loading