Skip to content

Commit

Permalink
STYLE enable pylint: invalid-envvar-default (#49801)
Browse files Browse the repository at this point in the history
  • Loading branch information
natmokval committed Nov 20, 2022
1 parent a3c58cb commit 8f8b5b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/io/clipboard/__init__.py
Expand Up @@ -69,7 +69,7 @@
# `import PyQt4` sys.exit()s if DISPLAY is not in the environment.
# Thus, we need to detect the presence of $DISPLAY manually
# and not load PyQt4 if it is absent.
HAS_DISPLAY = os.getenv("DISPLAY", False)
HAS_DISPLAY = os.getenv("DISPLAY")

EXCEPT_MSG = """
Pyperclip could not find a copy/paste mechanism for your system.
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Expand Up @@ -130,7 +130,6 @@ disable = [
"expression-not-assigned",
"fixme",
"global-statement",
"invalid-envvar-default",
"invalid-overridden-method",
"keyword-arg-before-vararg",
"non-parent-init-called",
Expand Down

0 comments on commit 8f8b5b3

Please sign in to comment.