Skip to content

Commit c318a2b

Browse files
committed
Fix small formatting issues
1 parent edf8a24 commit c318a2b

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

pylsp/_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ def escape_plain_text(contents: str) -> str:
175175
"""
176176
Format plain text to display nicely in environments which do not respect whitespaces.
177177
"""
178-
contents = contents.replace("\t", "\u00A0" * 4)
179-
contents = contents.replace(" ", "\u00A0" * 2)
178+
contents = contents.replace("\t", "\u00a0" * 4)
179+
contents = contents.replace(" ", "\u00a0" * 2)
180180
return contents
181181

182182

pylsp/plugins/flake8_lint.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright 2021- Python Language Server Contributors.
33

44
"""Linter pluging for flake8"""
5+
56
import logging
67
import os.path
78
import re

pylsp/plugins/pylint_lint.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Copyright 2021- Python Language Server Contributors.
44

55
"""Linter plugin for pylint."""
6+
67
import collections
78
import logging
89
import os

pylsp/uris.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
https://github.com/Microsoft/vscode-uri/blob/e59cab84f5df6265aed18ae5f43552d3eef13bb9/lib/index.ts
77
"""
8+
89
import re
910
from urllib import parse
1011

test/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright 2017-2020 Palantir Technologies, Inc.
22
# Copyright 2021- Python Language Server Contributors.
33

4-
""" py.test configuration"""
4+
"""pytest configuration"""
5+
56
import logging
67

78
from pylsp.__main__ import LOG_FORMAT

0 commit comments

Comments
 (0)