File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -166,12 +166,12 @@ def _trace(
166
166
if event == "call" :
167
167
# Should we start a new context?
168
168
if self .should_start_context and self .context is None :
169
- context_maybe = self .should_start_context (frame )
169
+ context_maybe = self .should_start_context (frame ) # pylint: disable=not-callable
170
170
if context_maybe is not None :
171
171
self .context = context_maybe
172
172
started_context = True
173
173
assert self .switch_context is not None
174
- self .switch_context (self .context )
174
+ self .switch_context (self .context ) # pylint: disable=not-callable
175
175
else :
176
176
started_context = False
177
177
else :
@@ -280,7 +280,7 @@ def _trace(
280
280
if self .started_context :
281
281
assert self .switch_context is not None
282
282
self .context = None
283
- self .switch_context (None )
283
+ self .switch_context (None ) # pylint: disable=not-callable
284
284
return self ._cached_bound_method_trace
285
285
286
286
def start (self ) -> TTraceFn :
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ commands =
97
97
# If this command fails, see the comment at the top of doc/cmd.rst
98
98
python -m cogapp -cP --check --verbosity =1 doc/*.rst
99
99
python -m cogapp -cP --check --verbosity =1 .github/workflows/*.yml
100
- python -m pylint --notes = --ignore-paths ' doc/_build/.*' {env:LINTABLE}
100
+ python -m pylint -j 0 - -notes = --ignore-paths ' doc/_build/.*' {env:LINTABLE}
101
101
check-manifest --ignore ' doc/sample_html/*,.treerc'
102
102
# If 'build -q' becomes a thing (https://github.com/pypa/build/issues/188),
103
103
# this can be simplified:
You can’t perform that action at this time.
0 commit comments