File tree 4 files changed +27
-27
lines changed
4 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 1
1
black==19.10b0
2
- flake8
3
- flake8-import-order
2
+ flake8==3.8.3
3
+ flake8-import-order==0.18.1
4
4
mypy==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(
106
106
return Hub .current .add_breadcrumb (crumb , hint , ** kwargs )
107
107
108
108
109
- @overload # noqa
110
- def configure_scope ():
109
+ @overload
110
+ def configure_scope (): # noqa: F811
111
111
# type: () -> ContextManager[Scope]
112
112
pass
113
113
114
114
115
- @overload # noqa
116
- def configure_scope (
115
+ @overload
116
+ def configure_scope ( # noqa: F811
117
117
callback , # type: Callable[[Scope], None]
118
118
):
119
119
# type: (...) -> None
120
120
pass
121
121
122
122
123
- @hubmethod # noqa
124
- def configure_scope (
123
+ @hubmethod
124
+ def configure_scope ( # noqa: F811
125
125
callback = None , # type: Optional[Callable[[Scope], None]]
126
126
):
127
127
# type: (...) -> Optional[ContextManager[Scope]]
128
128
return Hub .current .configure_scope (callback )
129
129
130
130
131
- @overload # noqa
132
- def push_scope ():
131
+ @overload
132
+ def push_scope (): # noqa: F811
133
133
# type: () -> ContextManager[Scope]
134
134
pass
135
135
136
136
137
- @overload # noqa
138
- def push_scope (
137
+ @overload
138
+ def push_scope ( # noqa: F811
139
139
callback , # type: Callable[[Scope], None]
140
140
):
141
141
# type: (...) -> None
142
142
pass
143
143
144
144
145
- @hubmethod # noqa
146
- def push_scope (
145
+ @hubmethod
146
+ def push_scope ( # noqa: F811
147
147
callback = None , # type: Optional[Callable[[Scope], None]]
148
148
):
149
149
# type: (...) -> Optional[ContextManager[Scope]]
Original file line number Diff line number Diff line change @@ -524,15 +524,15 @@ def start_transaction(
524
524
525
525
return transaction
526
526
527
- @overload # noqa
528
- def push_scope (
527
+ @overload
528
+ def push_scope ( # noqa: F811
529
529
self , callback = None # type: Optional[None]
530
530
):
531
531
# type: (...) -> ContextManager[Scope]
532
532
pass
533
533
534
- @overload # noqa
535
- def push_scope (
534
+ @overload
535
+ def push_scope ( # noqa: F811
536
536
self , callback # type: Callable[[Scope], None]
537
537
):
538
538
# type: (...) -> None
@@ -573,15 +573,15 @@ def pop_scope_unsafe(self):
573
573
assert self ._stack , "stack must have at least one layer"
574
574
return rv
575
575
576
- @overload # noqa
577
- def configure_scope (
576
+ @overload
577
+ def configure_scope ( # noqa: F811
578
578
self , callback = None # type: Optional[None]
579
579
):
580
580
# type: (...) -> ContextManager[Scope]
581
581
pass
582
582
583
- @overload # noqa
584
- def configure_scope (
583
+ @overload
584
+ def configure_scope ( # noqa: F811
585
585
self , callback # type: Callable[[Scope], None]
586
586
):
587
587
# type: (...) -> None
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ def overload(x):
27
27
28
28
29
29
@overload
30
- def serverless_function (f , flush = True ):
30
+ def serverless_function (f , flush = True ): # noqa: F811
31
31
# type: (F, bool) -> F
32
32
pass
33
33
34
34
35
- @overload # noqa
36
- def serverless_function (f = None , flush = True ):
35
+ @overload
36
+ def serverless_function (f = None , flush = True ): # noqa: F811
37
37
# type: (None, bool) -> Callable[[F], F]
38
38
pass
39
39
You can’t perform that action at this time.
0 commit comments