Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit 0b09a7f

Browse files
committed
style: pep8 flake8 fixes
1 parent 4fbdeb3 commit 0b09a7f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pycallgraph/output/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def debug(self, text):
116116
self.processor.config.log_debug(text)
117117

118118
@classmethod
119-
def add_output_file(cls, subparser, defaults, help):
119+
def add_output_file(cls, subparser, defaults, help): # noqa: A002
120120
subparser.add_argument(
121121
'-o', '--output-file', type=str, default=defaults.output_file,
122122
help=help,

pycallgraph/pycallgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(self, output=None, config=None):
3333
def __enter__(self):
3434
self.start()
3535

36-
def __exit__(self, type, value, traceback):
36+
def __exit__(self, type, value, traceback): # noqa: A002
3737
self.done()
3838

3939
def get_tracer_class(self):

pycallgraph/tracer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,4 +372,5 @@ def wrapper(*rest):
372372

373373
return wrapper
374374

375+
375376
inspect.getmodule = simple_memoize(inspect.getmodule)

0 commit comments

Comments
 (0)