Reduce the doctest lease duration...
[python_utils.git] / pyproject.toml
index e8a7162110ca35732ce8faa81eabb3062629f2ad..b10ec47d9c47cfcfdcab1adfd20f435e5e179f09 100644 (file)
@@ -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