We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e3cf3 commit 53a9272Copy full SHA for 53a9272
pygmt/__init__.py
@@ -85,10 +85,9 @@ def print_clib_info(file=sys.stdout):
85
"""
86
from pygmt.clib import Session
87
88
- lines = ["GMT library information:"]
+ print("GMT library information:", file=file)
89
with Session() as ses:
90
- for key in sorted(ses.info):
91
- lines.append(f" {key}: {ses.info[key]}")
+ lines = [f" {key}: {ses.info[key]}" for key in sorted(ses.info)]
92
print("\n".join(lines), file=file)
93
94
pyproject.toml
@@ -112,6 +112,7 @@ select = [
112
"N", # pep8-naming
113
"NPY", # numpy
114
"PD", # pandas-vet
115
+ "PERF", # perflint
116
"PGH", # pygrep-hooks
117
"PIE", # flake8-pie
118
"PL", # pylint
0 commit comments