Skip to content

Commit 8239205

Browse files
authored
fix: Remove duplicate words (#96178)
This PR addresses instances of unintentional word duplication (e.g., "are are," "is is") throughout the codebase. <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
1 parent 3d45d32 commit 8239205

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

src/sentry/api/endpoints/organization_events_facets_performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def query_facet_performance(
410410
# Aggregate (avg) and count of all transactions for this query
411411
transaction_aggregate = tag_data["aggregate"]
412412

413-
# Exclude tags that have high cardinality are are generally unrelated to performance
413+
# Exclude tags that have high cardinality are generally unrelated to performance
414414
excluded_tags = Condition(
415415
Column("tags_key"),
416416
Op.NOT_IN,

src/sentry/db/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SiloRouter:
2828
- Monolith - all tables reside in the same database.
2929
- Siloed - tables for control and region are separated.
3030
31-
Within Siloed there are are two flavours:
31+
Within Siloed there are two flavours:
3232
3333
- simulated - If the application is configured with `control` and `default`
3434
connections, then we are in 'simulated' silo environment (like our testsuite).

src/sentry/replays/_case_studies/INC_1184_consumer_backlog_from_increased_threads/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def test2_insufficient_queue_depth():
172172
def test3_over_production_hogs_cpu_time_leading_to_starvation():
173173
"""
174174
Background:
175-
"Because every time a MessageRejected is is raised by the commit step, it happens when process
175+
"Because every time a MessageRejected is raised by the commit step, it happens when process
176176
submits to commit. by re-parsing the same message over and over in a tight loop we also steal
177177
the GIL from everything else."
178178

static/app/utils/profiling/canvasView.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('CanvasView', () => {
179179
it('is zoomed in', () => {
180180
const {view} = makeCanvasAndView(canvas, flamegraph);
181181

182-
// Duration is is 1000, so we can't go over the end of the profile
182+
// Duration is 1000, so we can't go over the end of the profile
183183
view.setConfigView(new Rect(600, 0, 500, 50));
184184
expect(view.configView).toEqual(new Rect(500, 0, 500, 50));
185185
});

static/app/views/dashboards/widgetBuilder/buildSteps/dataSetStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function DataSetStep({
8989
if (organization.features.includes('discover-saved-queries-deprecation')) {
9090
disabledChoices.push([
9191
DataSet.TRANSACTIONS,
92-
t('This dataset is is no longer supported. Please use the Spans dataset.'),
92+
t('This dataset is no longer supported. Please use the Spans dataset.'),
9393
]);
9494
}
9595
datasetChoices.set(DataSet.TRANSACTIONS, t('Transactions'));

static/app/views/dashboards/widgetBuilder/components/datasetSelector.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('DatasetSelector', function () {
7373
await userEvent.hover(transactionsRadio);
7474

7575
expect(
76-
await screen.findByText(/This dataset is is no longer supported./i)
76+
await screen.findByText(/This dataset is no longer supported./i)
7777
).toBeInTheDocument();
7878

7979
// Click on the "Spans" link in the tooltip

static/app/views/dashboards/widgetBuilder/components/datasetSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function WidgetBuilderDatasetSelector() {
3838
if (organization.features.includes('discover-saved-queries-deprecation')) {
3939
disabledChoices.push([
4040
WidgetType.TRANSACTIONS,
41-
tct('This dataset is is no longer supported. Please use the [spans] dataset.', {
41+
tct('This dataset is no longer supported. Please use the [spans] dataset.', {
4242
spans: (
4343
<Link
4444
// We need to do this otherwise the dashboard filters will change

static/app/views/dashboards/widgetCard/widgetCardContextMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ export function getMenuOptions(
403403
label: t('Add to Dashboard'),
404404
disabled: disableTransactionEdit,
405405
tooltip: disableTransactionEdit
406-
? t('This dataset is is no longer supported. Please use the Spans dataset.')
406+
? t('This dataset is no longer supported. Please use the Spans dataset.')
407407
: undefined,
408408
onAction: () => {
409409
openAddToDashboardModal({
@@ -427,7 +427,7 @@ export function getMenuOptions(
427427
label: t('Duplicate Widget'),
428428
onAction: () => onDuplicate?.(),
429429
tooltip: disableTransactionEdit
430-
? t('This dataset is is no longer supported. Please use the Spans dataset.')
430+
? t('This dataset is no longer supported. Please use the Spans dataset.')
431431
: undefined,
432432
disabled: widgetLimitReached || !hasEditAccess || disableTransactionEdit,
433433
});

static/app/views/insights/database/components/noDataMessage.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ describe('NoDataMessage', () => {
9999
);
100100
});
101101

102-
it('shows a list of denylisted projects if any are are set even if data is available', async function () {
102+
it('shows a list of denylisted projects if any are set even if data is available', async function () {
103103
ProjectsStore.loadInitialData([
104104
ProjectFixture({
105105
name: 'Awful API',

static/app/views/settings/project/projectToolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function ProjectToolbarSettings({project}: Props) {
5252
{t('Domains where the dev toolbar is allowed to access your data.')}
5353
<br />
5454
{t(
55-
'Protocol and port are optional; wildcard subdomains (*) are are supported.'
55+
'Protocol and port are optional; wildcard subdomains (*) are supported.'
5656
)}
5757
<br />
5858
{tct(

0 commit comments

Comments
 (0)