Skip to content

Commit 64b1789

Browse files
natmokvalMarcoGorelli
authored and
MarcoGorelli
committed
STYLE enable pylint: invalid-envvar-default (#49801)
1 parent a511284 commit 64b1789

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pandas/io/clipboard/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
# `import PyQt4` sys.exit()s if DISPLAY is not in the environment.
7070
# Thus, we need to detect the presence of $DISPLAY manually
7171
# and not load PyQt4 if it is absent.
72-
HAS_DISPLAY = os.getenv("DISPLAY", False)
72+
HAS_DISPLAY = os.getenv("DISPLAY")
7373

7474
EXCEPT_MSG = """
7575
Pyperclip could not find a copy/paste mechanism for your system.

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ disable = [
130130
"expression-not-assigned",
131131
"fixme",
132132
"global-statement",
133-
"invalid-envvar-default",
134133
"invalid-overridden-method",
135134
"keyword-arg-before-vararg",
136135
"non-parent-init-called",

0 commit comments

Comments
 (0)