Browse Source

ref: move mypy stubs (#49786)

a folder named `x-stubs` gets interpreted as a stubs package even if it
is not one




<!-- Describe your PR here. -->
anthony sottile 1 year ago
parent
commit
591388514f
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .github/CODEOWNERS
  2. 0 0
      fixtures/stubs-for-mypy/brotli.pyi
  3. 2 2
      mypy.ini

+ 1 - 1
.github/CODEOWNERS

@@ -65,7 +65,7 @@ Makefile                                                 @getsentry/owners-sentr
 .git-blame-ignore-revs                                   @getsentry/owners-sentry-dev
 
 mypy.ini                                                 @getsentry/python-typing
-/fixtures/stubs                                          @getsentry/python-typing
+/fixtures/stubs-for-mypy                                 @getsentry/python-typing
 
 # GitHub Routing Automations - notion.so/473791bae5bf43399d46093050b77bf0
 /.github/labels.yml                                      @getsentry/open-source

+ 0 - 0
fixtures/mypy-stubs/brotli.pyi → fixtures/stubs-for-mypy/brotli.pyi


+ 2 - 2
mypy.ini

@@ -1,7 +1,7 @@
 [mypy]
 python_version = 3.8
-mypy_path = fixtures/mypy-stubs
-files = fixtures/mypy-stubs,
+mypy_path = fixtures/stubs-for-mypy
+files = fixtures/stubs-for-mypy,
         src/sentry/analytics/,
         src/sentry/api/bases/external_actor.py,
         src/sentry/api/bases/organization.py,