File tree Expand file tree Collapse file tree 4 files changed +27
-27
lines changed Expand file tree Collapse file tree 4 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 11black==19.10b0
2- flake8
3- flake8-import-order
2+ flake8==3.8.3
3+ flake8-import-order==0.18.1
44mypy==0.782
5- flake8-bugbear>=19.8.0
6- pep8-naming
5+ flake8-bugbear==20.1.4
6+ pep8-naming==0.11.1
Original file line number Diff line number Diff line change @@ -106,44 +106,44 @@ def add_breadcrumb(
106106 return Hub .current .add_breadcrumb (crumb , hint , ** kwargs )
107107
108108
109- @overload # noqa
110- def configure_scope ():
109+ @overload
110+ def configure_scope (): # noqa: F811
111111 # type: () -> ContextManager[Scope]
112112 pass
113113
114114
115- @overload # noqa
116- def configure_scope (
115+ @overload
116+ def configure_scope ( # noqa: F811
117117 callback , # type: Callable[[Scope], None]
118118):
119119 # type: (...) -> None
120120 pass
121121
122122
123- @hubmethod # noqa
124- def configure_scope (
123+ @hubmethod
124+ def configure_scope ( # noqa: F811
125125 callback = None , # type: Optional[Callable[[Scope], None]]
126126):
127127 # type: (...) -> Optional[ContextManager[Scope]]
128128 return Hub .current .configure_scope (callback )
129129
130130
131- @overload # noqa
132- def push_scope ():
131+ @overload
132+ def push_scope (): # noqa: F811
133133 # type: () -> ContextManager[Scope]
134134 pass
135135
136136
137- @overload # noqa
138- def push_scope (
137+ @overload
138+ def push_scope ( # noqa: F811
139139 callback , # type: Callable[[Scope], None]
140140):
141141 # type: (...) -> None
142142 pass
143143
144144
145- @hubmethod # noqa
146- def push_scope (
145+ @hubmethod
146+ def push_scope ( # noqa: F811
147147 callback = None , # type: Optional[Callable[[Scope], None]]
148148):
149149 # type: (...) -> Optional[ContextManager[Scope]]
Original file line number Diff line number Diff line change @@ -524,15 +524,15 @@ def start_transaction(
524524
525525 return transaction
526526
527- @overload # noqa
528- def push_scope (
527+ @overload
528+ def push_scope ( # noqa: F811
529529 self , callback = None # type: Optional[None]
530530 ):
531531 # type: (...) -> ContextManager[Scope]
532532 pass
533533
534- @overload # noqa
535- def push_scope (
534+ @overload
535+ def push_scope ( # noqa: F811
536536 self , callback # type: Callable[[Scope], None]
537537 ):
538538 # type: (...) -> None
@@ -573,15 +573,15 @@ def pop_scope_unsafe(self):
573573 assert self ._stack , "stack must have at least one layer"
574574 return rv
575575
576- @overload # noqa
577- def configure_scope (
576+ @overload
577+ def configure_scope ( # noqa: F811
578578 self , callback = None # type: Optional[None]
579579 ):
580580 # type: (...) -> ContextManager[Scope]
581581 pass
582582
583- @overload # noqa
584- def configure_scope (
583+ @overload
584+ def configure_scope ( # noqa: F811
585585 self , callback # type: Callable[[Scope], None]
586586 ):
587587 # type: (...) -> None
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ def overload(x):
2727
2828
2929@overload
30- def serverless_function (f , flush = True ):
30+ def serverless_function (f , flush = True ): # noqa: F811
3131 # type: (F, bool) -> F
3232 pass
3333
3434
35- @overload # noqa
36- def serverless_function (f = None , flush = True ):
35+ @overload
36+ def serverless_function (f = None , flush = True ): # noqa: F811
3737 # type: (None, bool) -> Callable[[F], F]
3838 pass
3939
You can’t perform that action at this time.
0 commit comments