Skip to content
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

Remove gratuitous non-ASCII characters #7683

Merged
merged 1 commit into from
Nov 7, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function thresholdFromAccuracy(approxPolyAccuracy: number): number {
let threshold = 0;
if (approxPolyMaxDistance > 0) {
if (approxPolyMaxDistance <= 8) {
// 2.75x+7y+1=0 linear made from two points (1; 0.25) and (8; 3)
// -2.75x+7y+1=0 linear made from two points (1; 0.25) and (8; 3)
threshold = (2.75 * approxPolyMaxDistance - 1) / 7;
} else {
// 4 for 9, 8 for 10, 16 for 11, 32 for 12, 64 for 13
Expand Down
1 change: 0 additions & 1 deletion cvat-ui/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
name="description"
content="Computer Vision Annotation Tool (CVAT) is a free, open source, web-based image and video annotation tool which is used for labeling data for computer vision algorithms. CVAT supports the primary tasks of supervised machine learning: object detection, image classification, and image segmentation. CVAT allows users to annotate data for each of these cases"
/>
<meta name="”robots”" content="index, follow" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,[email protected],400;8..144,500;8..144,600;8..144,700;8..144,800&family=Sora&display=swap" rel="stylesheet"> </head>
Expand Down
2 changes: 1 addition & 1 deletion cvat-ui/src/reducers/notifications-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export default function (state = defaultState, action: AnyAction): Notifications
...state.messages.auth,
requestPasswordResetDone: {
message: `Check your email for a link to reset your password.
If it doesnt appear within a few minutes, check your spam folder.`,
If it doesn't appear within a few minutes, check your spam folder.`,
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions cvat/apps/iam/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ def filter(self, queryset):
q_objects.append(Q())

# By default, a QuerySet will not eliminate duplicate rows. If your
# query spans multiple tables (e.g. members__user_id, owner_id), its
# query spans multiple tables (e.g. members__user_id, owner_id), it's
# possible to get duplicate results when a QuerySet is evaluated.
# Thats when youd use distinct().
# That's when you'd use distinct().
return queryset.filter(q_objects[0]).distinct()

@classmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ context('Save filtered object in AAM.', () => {
});

describe(`Testing case "${caseId}"`, () => {
it(`Set filter label == ${labelName}.`, () => {
it(`Set filter label == "${labelName}".`, () => {
cy.addFiltersRule(0);
cy.setFilter({
groupIndex: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ context('Actions on polygon', () => {
cy.get('.cvat-canvas-container').click();
});

it('Second shape is over the first shape', () => {
it('Second shape is over the first shape', () => {
// The larger the index of an element in the array the closer it is to us
cy.get('.cvat_canvas_shape').then(($canvasShape) => {
expect(Number($canvasShape[1].id.match(/\d+$/))).to.be.equal(2);
Expand All @@ -76,7 +76,7 @@ context('Actions on polygon', () => {
cy.get('#cvat_canvas_shape_1').should('have.class', 'cvat_canvas_shape_activated');
});

it('First shape is over the second shape', () => {
it('First shape is over the second shape', () => {
// The larger the index of an element in the array the closer it is to us
cy.get('.cvat_canvas_shape').then(($canvasShape) => {
expect(Number($canvasShape[1].id.match(/\d+$/))).to.be.equal(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ context('Lock/hide features.', () => {
cy.contains('Labels').click();
});
});
it('Repeat hide/lock for one of the labels. Objects with other labels werent affected.', () => {
it("Repeat hide/lock for one of the labels. Objects with other labels weren't affected.", () => {
const objectsSameLabel = ['cvat_canvas_shape_1', 'cvat_canvas_shape_2', 'cvat_canvas_shape_3'];
cy.get('.cvat-objects-sidebar-labels-list').within(() => {
// Hide and lock all object with "Main task" label (#cvat_canvas_shape_1-3).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ context('Changing a default value for an attribute.', () => {
});

describe(`Testing case "${caseId}", issue 2968`, () => {
it('Add a label, add text (leave it’s value empty by default) & checkbox attributes.', () => {
it('Add a label, add text (leave its value empty by default) & checkbox attributes.', () => {
cy.intercept('PATCH', '/api/tasks/**').as('patchTask');
cy.addNewLabel({ name: additionalLabel }, additionalAttrsLabel);
cy.wait('@patchTask').its('response.statusCode').should('equal', 200);
Expand Down
Loading