-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: add pylint to check ill-formated string literals
This pull request added pylint with a minimal configuration, enabling only string checks. See #1601.
- Loading branch information
1 parent
4972fad
commit fe7f066
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[tool.pylint.main] | ||
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the | ||
# number of processors available to use, and will cap the count on Windows to | ||
# avoid hangs. | ||
jobs = 0 | ||
|
||
[tool.pylint."messages control"] | ||
# Disable the message, report, category or checker with the given id(s). You can | ||
# either give multiple identifiers separated by comma (,) or put this option | ||
# multiple times (only on the command line, not in the configuration file where | ||
# it should appear only once). You can also use "--disable=all" to disable | ||
# everything first and then re-enable specific checks. For example, if you want | ||
# to run only the similarities checker, you can use "--disable=all | ||
# --enable=similarities". If you want to run only the classes checker, but have | ||
# no Warning level messages displayed, use "--disable=all --enable=classes | ||
# --disable=W". | ||
disable = ["all"] | ||
|
||
# Enable the message, report, category or checker with the given id(s). You can | ||
# either give multiple identifier separated by comma (,) or put this option | ||
# multiple time (only on the command line, not in the configuration file where it | ||
# should appear only once). See also the "--disable" option for examples. | ||
enable = ["string"] |