From a0dcf90c57edb18ab4007339ac79de4d27d71416 Mon Sep 17 00:00:00 2001 From: Andrew Truong Date: Sun, 25 Aug 2024 08:56:45 -0400 Subject: [PATCH] delete: useless pyright config --- .pre-commit-config.yaml | 5 -- weave/legacy/pyrightconfig.json | 99 --------------------------------- 2 files changed, 104 deletions(-) delete mode 100644 weave/legacy/pyrightconfig.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78ea91c9759..7f3d2153dea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,11 +19,6 @@ repos: [types-pkg-resources==0.1.3, types-all, wandb>=0.15.5] # You have to exclude in 3 places. 1) here. 2) mypi.ini exclude, 3) follow_imports = skip for each module in mypy.ini exclude: (.*pyi$)|(weave/legacy)|(weave/tests) - # Turn pyright back off, duplicative of mypy - # - repo: https://github.com/RobertCraigie/pyright-python - # rev: v1.1.341 - # hooks: - # - id: pyright - repo: local hooks: - id: jupyter-nb-clear-output diff --git a/weave/legacy/pyrightconfig.json b/weave/legacy/pyrightconfig.json deleted file mode 100644 index 0ad38dc42a1..00000000000 --- a/weave/legacy/pyrightconfig.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "include": ["weave/"], - "exclude": [ - "genpydocs.py", - "docker_build.py", - "examples", - "integration_test", - "internal_tools", - "setup.py", - "weave-js", - "mypy_weave_plugin.py", - "weave/api.py", - "weave/artifact_fs.py", - "weave/artifact_local.py", - "weave/artifact_wandb.py", - "weave/arrow_util.py", - "weave/async_demo.py", - "weave/async_queue.py", - "weave/box.py", - "weave/cli.py", - "weave/client_interface.py", - "weave.legacy.weave.codify.py", - "weave/compile_domain.py", - "weave/conftest.py", - "weave/context.py", - "weave/context_state.py", - "weave/decorator_class.py", - "weave/decorator_op.py", - "weave/decorator_type.py", - "weave/deploy", - "weave/derive_op.py", - "weave/dispatch.py", - "weave/ecosystem", - "weave/engine_trace.py", - "weave/execute.py", - "weave/file_base.py", - "weave/file_local.py", - "weave/filesystem.py", - "weave/gql_schema.py", - "weave/gql_to_weave.py", - "weave/infer_types.py", - "weave/io_service.py", - "weave/language_features", - "weave/logs.py", - "weave/mappers_arrow.py", - "weave/mappers_gql.py", - "weave/mappers_publisher.py", - "weave/mappers_python.py", - "weave/mappers_python_def.py", - "weave/monitoring", - "weave/node_ref.py", - "weave/op_def.py", - "weave/op_def_type.py", - "weave/ops_arrow", - "weave/ops_domain", - "weave/ops_primitives", - "weave/panels", - "weave/panel.py", - "weave/panel_util.py", - "weave/panels_py", - "weave/partial_object.py", - "weave/pyfunc_type_util.py", - "weave/registry_mem.py", - "weave/run_streamtable_span.py", - "weave/runfiles_wandb.py", - "weave/serialize.py", - "weave/serve_fastapi.py", - "weave/server.py", - "weave/server_error_handling.py", - "weave/show.py", - "weave/signal_handlers.py", - "weave/stream_data_interfaces.py", - "weave/storage.py", - "weave/legacy/scripts/syndata.py", - "weave/legacy/scripts/syndata_mon.py", - "weave/tests", - "weave/types_numpy.py", - "weave/usage_analytics.py", - "weave/util.py", - "weave/urls.py", - "weave/wandb_api.py", - "weave/wandb_client_api.py", - "weave/wandb_file_manager.py", - "weave/wandb_interface", - "weave/wandb_util.py", - "weave/weave_inspector.py", - "weave/weave_internal.py", - "weave/weave_server.py", - "weave/weave_types.py", - "weave/weaveflow", - "weave/weave_http.py", - "weave/weave_pydantic.py", - "weave/weavify.py" - ], - "reportFunctionMemberAccess": true, - "reportIncompatibleMethodOverride": true, - "reportIncompatibleVariableOverride": true, - "reportOverlappingOverload": true -}