summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-02-10 14:10:48 -0800
committerScott Gasch <[email protected]>2022-02-10 14:10:48 -0800
commitf2600f30801c849fc1d139386e3ddc3c9eb43e30 (patch)
tree74c5173bf47322bcfbbd2985adfb54741cf3c4cc /pyproject.toml
parent415c2c91972ea5a574dce166ec609926dcf19d73 (diff)
More cleanup.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml18
1 files changed, 17 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index e8a7162..b10ec47 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,6 +19,22 @@ line-length=100
profile="black"
sections="FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
no_lines_before="STDLIB"
+known_first_party = [
+ "acl", "ansi", "argparse_utils", "arper", "base_presence", "bootstrap", "camera_utils",
+ "config", "constants", "conversion_utils", "datetime_utils", "decorator_utils", "deferred_operand",
+ "dict_utils", "directory_filter", "exceptions", "exec_utils", "executors", "file_utils",
+ "function_utils", "google_assistant", "histogram", "id_generator", "input_utils", "letter_compress",
+ "list_utils", "lockfile", "logging_utils", "logical_search", "math_utils", "misc_utils",
+ "orb_utils", "parallelize", "persistent", "profanity_filter", "remote_worker", "scott_secrets",
+ "site_config", "smart_future", "state_tracker", "stopwatch", "string_utils", "text_utils",
+ "thread_utils", "type_utils", "unittest_utils", "unscrambler", "waitable_presence",
+ "smart_home.cameras", "smart_home.chromecasts", "smart_home.device_utils", "smart_home.device",
+ "smart_home.lights", "smart_home.outlets", "smart_home.registry", "smart_home.thermometers",
+ "cached.weather_data", "cached.weather_forecast", "collect.bidict", "collect.bst",
+ "collect.shared_dict", "collect.trie", "dateparse.dateparse_utils", "ml.model_trainer",
+ "ml.quick_label", "type.centcount", "type.locations", "type.money", "type.people",
+ "type.rate",
+]
[tool.pylint]
[tool.pylint.MASTER]
@@ -100,7 +116,7 @@ unsafe-load-any-extension="no"
# --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="invalid-name, missing-function-docstring, useless-object-inheritance, unspecified-encoding, import-outside-toplevel, raw-checker-failed, bad-inline-option, locally-disabled, line-too-long, too-few-public-methods, file-ignored, suppressed-message, useless-suppression, no-else-return, no-else-raise, no-else-break, deprecated-pragma, unnecessary-pass, use-symbolic-message-instead, broad-except"
+disable="invalid-name, missing-function-docstring, useless-object-inheritance, unspecified-encoding, import-outside-toplevel, raw-checker-failed, bad-inline-option, locally-disabled, line-too-long, too-few-public-methods, file-ignored, suppressed-message, useless-suppression, no-else-return, no-else-raise, no-else-break, deprecated-pragma, unnecessary-pass, use-symbolic-message-instead, broad-except, wrong-import-order"
# 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