Add ':' to TODOs to activate highlight

Some linters have a special highlightning on "TODO:" comments.
This commit is contained in:
hasecilu
2023-12-19 17:01:17 -06:00
parent af6477205b
commit 04dc68218b
4 changed files with 9 additions and 9 deletions

View File

@@ -2149,7 +2149,7 @@ static int yy_get_next_buffer (void)
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
/* TODO. We should be able to replace this entire function body
/* TODO: We should be able to replace this entire function body
* with
* yypop_buffer_state();
* yypush_buffer_state(new_buffer);

View File

@@ -82,19 +82,19 @@ UnitsSchemaImperial1::schemaTranslate(const Quantity& quant, double& factor, QSt
factor = 1.0;
}
else if (unit == Unit::Area) {
// TODO Cascade for the Areas
// TODO: Cascade for the Areas
// default action for all cases without special treatment:
unitString = QString::fromLatin1("in^2");
factor = 645.16;
}
else if (unit == Unit::Volume) {
// TODO Cascade for the Volume
// TODO: Cascade for the Volume
// default action for all cases without special treatment:
unitString = QString::fromLatin1("in^3");
factor = 16387.064;
}
else if (unit == Unit::Mass) {
// TODO Cascade for the weights
// TODO: Cascade for the weights
// default action for all cases without special treatment:
unitString = QString::fromLatin1("lb");
factor = 0.45359237;
@@ -149,19 +149,19 @@ QString UnitsSchemaImperialDecimal::schemaTranslate(const Base::Quantity& quant,
factor = 1.0;
}
else if (unit == Unit::Area) {
// TODO Cascade for the Areas
// TODO: Cascade for the Areas
// default action for all cases without special treatment:
unitString = QString::fromLatin1("in^2");
factor = 645.16;
}
else if (unit == Unit::Volume) {
// TODO Cascade for the Volume
// TODO: Cascade for the Volume
// default action for all cases without special treatment:
unitString = QString::fromLatin1("in^3");
factor = 16387.064;
}
else if (unit == Unit::Mass) {
// TODO Cascade for the weights
// TODO: Cascade for the weights
// default action for all cases without special treatment:
unitString = QString::fromLatin1("lb");
factor = 0.45359237;

View File

@@ -117,7 +117,7 @@ UnitsSchemaInternal::schemaTranslate(const Quantity& quant, double& factor, QStr
}
}
else if (unit == Unit::Angle) {
// TODO Cascade for the Areas
// TODO: Cascade for the Areas
// default action for all cases without special treatment:
unitString = QString::fromUtf8("\xC2\xB0");
factor = 1.0;

View File

@@ -713,7 +713,7 @@ int VectorPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
return 0;
}
// TODO for v0.18:
// TODO: for v0.18
// In generation script allow to more precisely define which slots
// of the number protocol should be supported instead of setting all.