Skip to content

Commit d71d015

Browse files
committed
Apply pyproject-fmt 2.18.1 formatting fixes
pyproject-fmt 2.18.1 was bumped in #3032 but the accompanying formatting changes were not applied. This updates the pylint and spelling config keys to use unquoted format (e.g. FORMAT.single-line-if-stmt instead of "FORMAT".single-line-if-stmt) as required by the new version. Made-with: Cursor
1 parent fdff989 commit d71d015

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ lint.pydocstyle.convention = "google"
193193
[tool.pylint]
194194
# Allow the body of an if to be on the same line as the test if there is no
195195
# else.
196-
"FORMAT".single-line-if-stmt = false
196+
FORMAT.single-line-if-stmt = false
197197
# Pickle collected data for later comparisons.
198-
"MASTER".persistent = true
198+
MASTER.persistent = true
199199
# Use multiple processes to speed up Pylint.
200-
"MASTER".jobs = 0
200+
MASTER.jobs = 0
201201
# List of plugins (as comma separated values of python modules names) to load,
202202
# usually to register additional checkers.
203203
# See https://chezsoi.org/lucas/blog/pylint-strict-base-configuration.html.
@@ -206,7 +206,7 @@ lint.pydocstyle.convention = "google"
206206
# - pylint.extensions.magic_value
207207
# - pylint.extensions.while_used
208208
# as they seemed to get in the way.
209-
"MASTER".load-plugins = [
209+
MASTER.load-plugins = [
210210
"pylint_per_file_ignores",
211211
"pylint.extensions.bad_builtin",
212212
"pylint.extensions.comparison_placement",
@@ -227,7 +227,7 @@ lint.pydocstyle.convention = "google"
227227
# We ignore invalid names because:
228228
# - We want to use generated module names, which may not be valid, but are never seen.
229229
# - We want to use global variables in documentation, which may not be uppercase
230-
"MASTER".per-file-ignores = [
230+
MASTER.per-file-ignores = [
231231
"docs/source/conf.py:invalid-name",
232232
"docs/source/doccmd_*.py:invalid-name",
233233
"doccmd_README_rst_*.py:invalid-name",
@@ -277,12 +277,12 @@ lint.pydocstyle.convention = "google"
277277
]
278278
# Spelling dictionary name. Available dictionaries: none. To make it working
279279
# install python-enchant package.
280-
"SPELLING".spelling-dict = "en_US"
280+
SPELLING.spelling-dict = "en_US"
281281
# A path to a file that contains private dictionary; one word per line.
282-
"SPELLING".spelling-private-dict-file = "spelling_private_dict.txt"
282+
SPELLING.spelling-private-dict-file = "spelling_private_dict.txt"
283283
# Tells whether to store unknown words to indicated private dictionary in
284284
# --spelling-private-dict-file option instead of raising a message.
285-
"SPELLING".spelling-store-unknown-words = "no"
285+
SPELLING.spelling-store-unknown-words = "no"
286286

287287
[tool.check-manifest]
288288
ignore = [

0 commit comments

Comments
 (0)