Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .github/actions/artifacts/do_upload.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3

from typing import int
import glob
import itertools
import os
Expand Down
1 change: 1 addition & 0 deletions .github/actions/artifacts/download_codecov_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3

from typing import int
import os
import subprocess
import urllib.request
Expand Down
1 change: 1 addition & 0 deletions bin/extension_language_map.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
"""
Generate a mapping from file extensions to language for languages that are part of platforms supported by Sentry.
"""
Expand Down
1 change: 1 addition & 0 deletions bin/react-to-product-owners-yml-changes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
from __future__ import annotations
from typing import int

import os
import sys
Expand Down
1 change: 1 addition & 0 deletions bin/send_metrics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# pylint: skip-file
# flake8: noqa

from typing import int
import base64
import datetime
import functools
Expand Down
1 change: 1 addition & 0 deletions devenv/post_fetch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import int

import configparser

Expand Down
1 change: 1 addition & 0 deletions devenv/sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from __future__ import annotations
from typing import int

import importlib.metadata
import json
Expand Down
1 change: 1 addition & 0 deletions fixtures/apidocs_test_case.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
import functools
import os

Expand Down
1 change: 1 addition & 0 deletions fixtures/bitbucket.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
COMPARE_COMMITS_EXAMPLE = b"""{
"pagelen": 30,
"values":
Expand Down
1 change: 1 addition & 0 deletions fixtures/bitbucket_server.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
EXAMPLE_PRIVATE_KEY = """-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgQC1cd9t8sA03awggLiX2gjZxyvOVUPJksLly1E662tttTeR3Wm9
eo6onNeI8HRD+O4wubUp4h4Chc7DtLDmFEPhUZ8Qkwztiifm99Xo3s0nUq4Pygp5
Expand Down
1 change: 1 addition & 0 deletions fixtures/github.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# we keep this as a raw string as order matters for hmac signing
from typing import int
PUSH_EVENT_EXAMPLE_INSTALLATION = r"""{
"ref": "refs/heads/changes",
"installation" : {
Expand Down
1 change: 1 addition & 0 deletions fixtures/github_enterprise.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# we keep this as a raw string as order matters for hmac signing
from typing import int
PUSH_EVENT_EXAMPLE = r"""{
"ref": "refs/heads/changes",
"before": "9049f1265b7d61be4a8904a9a27120d2064dab3b",
Expand Down
1 change: 1 addition & 0 deletions fixtures/gitlab.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from time import time

from sentry.integrations.gitlab.integration import GitlabIntegration
Expand Down
1 change: 1 addition & 0 deletions fixtures/integrations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
import os

FIXTURE_DIRECTORY = os.path.join(os.path.dirname(os.path.abspath(__file__)))
1 change: 1 addition & 0 deletions fixtures/integrations/jira/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from typing import int
from .mock import MockJira # noqa
from .stub_client import StubJiraApiClient # noqa
1 change: 1 addition & 0 deletions fixtures/integrations/jira/mock.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from fixtures.integrations.jira.stub_client import StubJiraApiClient
from fixtures.integrations.mock_service import MockService

Expand Down
2 changes: 1 addition & 1 deletion fixtures/integrations/jira/stub_client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import int, Any

from fixtures.integrations.stub_service import StubService
from sentry.shared_integrations.exceptions import ApiError
Expand Down
2 changes: 1 addition & 1 deletion fixtures/integrations/mock_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import shutil
from collections import defaultdict
from typing import Any
from typing import int, Any

import orjson

Expand Down
2 changes: 1 addition & 1 deletion fixtures/integrations/stub_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os
from copy import deepcopy
from typing import Any
from typing import int, Any

import orjson

Expand Down
1 change: 1 addition & 0 deletions fixtures/models.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from typing import int
# this file is necessary for some reason for test models such as tests/sentry/db/models/fields/bitfield/test_bitfield.py
1 change: 1 addition & 0 deletions fixtures/page_objects/base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By

from sentry.testutils.pytest.selenium import Browser
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/dashboard_detail.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.models.dashboard import Dashboard
from sentry.models.organization import Organization

Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/explore_logs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By

from .base import BasePage
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/explore_spans.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By

from .base import BasePage
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/global_selection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from .base import BasePage


Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/issue_details.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/issue_list.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from .base import BasePage
from .global_selection import GlobalSelectionPage
from .issue_details import IssueDetailsPage
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/organization_integration_settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By

from .base import BasePage, ButtonElement, ModalElement
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/trace_view.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from selenium.webdriver.common.by import By

from .base import BasePage
Expand Down
1 change: 1 addition & 0 deletions fixtures/page_objects/transaction_summary.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from .base import BasePage


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:45

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:46

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:41

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:43

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:37

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:38

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.fields import SafeRemoveField
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.fields import SafeRemoveField
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
import django
from django.db import migrations, models

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.fields import SafeRemoveField
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models

from sentry.db.models import FlexibleForeignKey
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.fields import SafeRemoveField
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.fields import SafeRemoveField
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.models import SafeDeleteModel
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.models import SafeDeleteModel
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.models import SafeDeleteModel
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
import django
from django.db import migrations, models

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.models import SafeDeleteModel
from sentry.new_migrations.monkey.state import DeletionAction
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import models

from sentry.db.models import FlexibleForeignKey
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from typing import int
from django.db import migrations, models

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by Django 3.1 on 2019-09-22 21:47

from typing import int
from django.db import migrations

from sentry.new_migrations.migrations import CheckedMigration
Expand Down
Loading