From c44ff0500b52dd78716c36c7d1efd3016e20005f Mon Sep 17 00:00:00 2001 From: Zsolt Dollenstein Date: Tue, 28 Dec 2021 11:55:18 +0000 Subject: [PATCH] Fix license headers (#560) * Facebook -> Meta * remove year from doc copyright --- LICENSE | 2 +- docs/source/_static/custom.css | 2 +- docs/source/conf.py | 4 ++-- libcst/__init__.py | 2 +- libcst/_batched_visitor.py | 2 +- libcst/_exceptions.py | 2 +- libcst/_flatten_sentinel.py | 2 +- libcst/_maybe_sentinel.py | 2 +- libcst/_metadata_dependent.py | 2 +- libcst/_nodes/__init__.py | 2 +- libcst/_nodes/base.py | 2 +- libcst/_nodes/deep_equals.py | 2 +- libcst/_nodes/expression.py | 2 +- libcst/_nodes/internal.py | 2 +- libcst/_nodes/module.py | 2 +- libcst/_nodes/op.py | 2 +- libcst/_nodes/statement.py | 2 +- libcst/_nodes/tests/__init__.py | 2 +- libcst/_nodes/tests/base.py | 2 +- libcst/_nodes/tests/test_assert.py | 2 +- libcst/_nodes/tests/test_assign.py | 2 +- libcst/_nodes/tests/test_atom.py | 2 +- libcst/_nodes/tests/test_attribute.py | 2 +- libcst/_nodes/tests/test_await.py | 2 +- libcst/_nodes/tests/test_binary_op.py | 2 +- libcst/_nodes/tests/test_boolean_op.py | 2 +- libcst/_nodes/tests/test_call.py | 2 +- libcst/_nodes/tests/test_classdef.py | 2 +- libcst/_nodes/tests/test_comment.py | 2 +- libcst/_nodes/tests/test_comparison.py | 2 +- libcst/_nodes/tests/test_cst_node.py | 2 +- libcst/_nodes/tests/test_del.py | 2 +- libcst/_nodes/tests/test_dict.py | 2 +- libcst/_nodes/tests/test_dict_comp.py | 2 +- libcst/_nodes/tests/test_docstring.py | 2 +- libcst/_nodes/tests/test_else.py | 2 +- libcst/_nodes/tests/test_empty_line.py | 2 +- libcst/_nodes/tests/test_flatten_behavior.py | 2 +- libcst/_nodes/tests/test_for.py | 2 +- libcst/_nodes/tests/test_funcdef.py | 2 +- libcst/_nodes/tests/test_global.py | 2 +- libcst/_nodes/tests/test_if.py | 2 +- libcst/_nodes/tests/test_ifexp.py | 2 +- libcst/_nodes/tests/test_import.py | 2 +- libcst/_nodes/tests/test_indented_block.py | 2 +- libcst/_nodes/tests/test_lambda.py | 2 +- libcst/_nodes/tests/test_leaf_small_statements.py | 2 +- libcst/_nodes/tests/test_list.py | 2 +- libcst/_nodes/tests/test_matrix_multiply.py | 2 +- libcst/_nodes/tests/test_module.py | 2 +- libcst/_nodes/tests/test_namedexpr.py | 2 +- libcst/_nodes/tests/test_newline.py | 2 +- libcst/_nodes/tests/test_nonlocal.py | 2 +- libcst/_nodes/tests/test_number.py | 2 +- libcst/_nodes/tests/test_raise.py | 2 +- libcst/_nodes/tests/test_removal_behavior.py | 2 +- libcst/_nodes/tests/test_return.py | 2 +- libcst/_nodes/tests/test_set.py | 2 +- libcst/_nodes/tests/test_simple_comp.py | 2 +- libcst/_nodes/tests/test_simple_statement.py | 2 +- libcst/_nodes/tests/test_simple_whitespace.py | 2 +- libcst/_nodes/tests/test_small_statement.py | 2 +- libcst/_nodes/tests/test_subscript.py | 2 +- libcst/_nodes/tests/test_trailing_whitespace.py | 2 +- libcst/_nodes/tests/test_try.py | 2 +- libcst/_nodes/tests/test_tuple.py | 2 +- libcst/_nodes/tests/test_unary_op.py | 2 +- libcst/_nodes/tests/test_while.py | 2 +- libcst/_nodes/tests/test_with.py | 2 +- libcst/_nodes/tests/test_yield.py | 2 +- libcst/_nodes/whitespace.py | 2 +- libcst/_parser/__init__.py | 2 +- libcst/_parser/conversions/__init__.py | 2 +- libcst/_parser/conversions/expression.py | 2 +- libcst/_parser/conversions/module.py | 2 +- libcst/_parser/conversions/params.py | 2 +- libcst/_parser/conversions/statement.py | 2 +- libcst/_parser/conversions/terminals.py | 2 +- libcst/_parser/custom_itertools.py | 2 +- libcst/_parser/detect_config.py | 2 +- libcst/_parser/entrypoints.py | 2 +- libcst/_parser/grammar.py | 2 +- libcst/_parser/parso/__init__.py | 2 +- libcst/_parser/parso/pgen2/__init__.py | 2 +- libcst/_parser/parso/python/__init__.py | 2 +- libcst/_parser/parso/python/token.py | 2 +- libcst/_parser/parso/tests/__init__.py | 2 +- libcst/_parser/production_decorator.py | 2 +- libcst/_parser/py_whitespace_parser.py | 2 +- libcst/_parser/python_parser.py | 2 +- libcst/_parser/tests/__init__.py | 2 +- libcst/_parser/tests/test_config.py | 2 +- libcst/_parser/tests/test_detect_config.py | 2 +- libcst/_parser/tests/test_footer_behavior.py | 2 +- libcst/_parser/tests/test_node_identity.py | 2 +- libcst/_parser/tests/test_parse_errors.py | 2 +- libcst/_parser/tests/test_version_compare.py | 2 +- libcst/_parser/tests/test_whitespace_parser.py | 2 +- libcst/_parser/tests/test_wrapped_tokenize.py | 2 +- libcst/_parser/types/__init__.py | 2 +- libcst/_parser/types/config.py | 2 +- libcst/_parser/types/conversions.py | 2 +- libcst/_parser/types/partials.py | 2 +- libcst/_parser/types/production.py | 2 +- libcst/_parser/types/py_config.py | 2 +- libcst/_parser/types/py_token.py | 2 +- libcst/_parser/types/py_whitespace_state.py | 2 +- libcst/_parser/types/tests/__init__.py | 2 +- libcst/_parser/types/tests/test_config.py | 2 +- libcst/_parser/types/token.py | 2 +- libcst/_parser/types/whitespace_state.py | 2 +- libcst/_parser/whitespace_parser.py | 2 +- libcst/_parser/wrapped_tokenize.py | 2 +- libcst/_position.py | 2 +- libcst/_removal_sentinel.py | 2 +- libcst/_tabs.py | 2 +- libcst/_type_enforce.py | 2 +- libcst/_typed_visitor.py | 2 +- libcst/_typed_visitor_base.py | 2 +- libcst/_types.py | 2 +- libcst/_visitors.py | 2 +- libcst/codegen/__init__.py | 2 +- libcst/codegen/gather.py | 2 +- libcst/codegen/gen_matcher_classes.py | 4 ++-- libcst/codegen/gen_type_mapping.py | 4 ++-- libcst/codegen/gen_visitor_functions.py | 4 ++-- libcst/codegen/generate.py | 2 +- libcst/codegen/tests/__init__.py | 2 +- libcst/codegen/tests/test_codegen_clean.py | 2 +- libcst/codegen/transforms.py | 2 +- libcst/codemod/__init__.py | 2 +- libcst/codemod/_cli.py | 2 +- libcst/codemod/_codemod.py | 2 +- libcst/codemod/_command.py | 2 +- libcst/codemod/_context.py | 2 +- libcst/codemod/_dummy_pool.py | 2 +- libcst/codemod/_runner.py | 2 +- libcst/codemod/_testing.py | 2 +- libcst/codemod/_visitor.py | 2 +- libcst/codemod/commands/__init__.py | 2 +- libcst/codemod/commands/add_pyre_directive.py | 2 +- libcst/codemod/commands/convert_format_to_fstring.py | 2 +- libcst/codemod/commands/convert_namedtuple_to_dataclass.py | 2 +- .../codemod/commands/convert_percent_format_to_fstring.py | 2 +- libcst/codemod/commands/ensure_import_present.py | 2 +- libcst/codemod/commands/fix_pyre_directives.py | 2 +- libcst/codemod/commands/noop.py | 2 +- libcst/codemod/commands/remove_pyre_directive.py | 2 +- libcst/codemod/commands/remove_unused_imports.py | 2 +- libcst/codemod/commands/rename.py | 2 +- libcst/codemod/commands/strip_strings_from_types.py | 2 +- libcst/codemod/commands/tests/__init__.py | 2 +- libcst/codemod/commands/tests/test_add_pyre_directive.py | 2 +- .../commands/tests/test_convert_format_to_fstring.py | 2 +- .../commands/tests/test_convert_namedtuple_to_dataclass.py | 2 +- .../tests/test_convert_percent_format_to_fstring.py | 2 +- libcst/codemod/commands/tests/test_ensure_import_present.py | 2 +- libcst/codemod/commands/tests/test_fix_pyre_directives.py | 2 +- libcst/codemod/commands/tests/test_noop.py | 2 +- libcst/codemod/commands/tests/test_remove_pyre_directive.py | 2 +- libcst/codemod/commands/tests/test_remove_unused_imports.py | 2 +- libcst/codemod/commands/tests/test_rename.py | 2 +- .../codemod/commands/tests/test_strip_strings_from_types.py | 2 +- .../commands/tests/test_unnecessary_format_string.py | 2 +- libcst/codemod/commands/unnecessary_format_string.py | 2 +- libcst/codemod/tests/__init__.py | 2 +- libcst/codemod/tests/codemod_formatter_error_input.py.txt | 2 +- libcst/codemod/tests/test_cli.py | 2 +- libcst/codemod/tests/test_codemod.py | 2 +- libcst/codemod/tests/test_codemod_cli.py | 2 +- libcst/codemod/tests/test_metadata.py | 2 +- libcst/codemod/tests/test_runner.py | 2 +- libcst/codemod/visitors/__init__.py | 2 +- libcst/codemod/visitors/_add_imports.py | 2 +- libcst/codemod/visitors/_apply_type_annotations.py | 2 +- libcst/codemod/visitors/_gather_comments.py | 2 +- libcst/codemod/visitors/_gather_exports.py | 2 +- libcst/codemod/visitors/_gather_imports.py | 2 +- libcst/codemod/visitors/_gather_string_annotation_names.py | 2 +- libcst/codemod/visitors/_gather_unused_imports.py | 2 +- libcst/codemod/visitors/_remove_imports.py | 2 +- libcst/codemod/visitors/tests/__init__.py | 2 +- libcst/codemod/visitors/tests/test_add_imports.py | 2 +- .../codemod/visitors/tests/test_apply_type_annotations.py | 2 +- libcst/codemod/visitors/tests/test_gather_comments.py | 2 +- libcst/codemod/visitors/tests/test_gather_exports.py | 2 +- libcst/codemod/visitors/tests/test_gather_imports.py | 2 +- .../visitors/tests/test_gather_string_annotation_names.py | 2 +- libcst/codemod/visitors/tests/test_gather_unused_imports.py | 2 +- libcst/codemod/visitors/tests/test_remove_imports.py | 2 +- libcst/helpers/__init__.py | 2 +- libcst/helpers/_statement.py | 2 +- libcst/helpers/_template.py | 2 +- libcst/helpers/common.py | 2 +- libcst/helpers/expression.py | 2 +- libcst/helpers/module.py | 2 +- libcst/helpers/tests/__init__.py | 2 +- libcst/helpers/tests/test_expression.py | 2 +- libcst/helpers/tests/test_module.py | 2 +- libcst/helpers/tests/test_statement.py | 2 +- libcst/helpers/tests/test_template.py | 2 +- libcst/matchers/__init__.py | 2 +- libcst/matchers/_decorators.py | 2 +- libcst/matchers/_matcher_base.py | 2 +- libcst/matchers/_return_types.py | 2 +- libcst/matchers/_visitors.py | 2 +- libcst/matchers/tests/__init__.py | 2 +- libcst/matchers/tests/test_decorators.py | 2 +- libcst/matchers/tests/test_extract.py | 2 +- libcst/matchers/tests/test_findall.py | 2 +- libcst/matchers/tests/test_matchers.py | 2 +- libcst/matchers/tests/test_matchers_with_metadata.py | 2 +- libcst/matchers/tests/test_replace.py | 2 +- libcst/matchers/tests/test_visitors.py | 2 +- libcst/metadata/__init__.py | 2 +- libcst/metadata/base_provider.py | 2 +- libcst/metadata/expression_context_provider.py | 2 +- libcst/metadata/full_repo_manager.py | 2 +- libcst/metadata/name_provider.py | 2 +- libcst/metadata/parent_node_provider.py | 2 +- libcst/metadata/position_provider.py | 2 +- libcst/metadata/reentrant_codegen.py | 2 +- libcst/metadata/scope_provider.py | 2 +- libcst/metadata/span_provider.py | 2 +- libcst/metadata/tests/__init__.py | 2 +- libcst/metadata/tests/test_base_provider.py | 2 +- libcst/metadata/tests/test_expression_context_provider.py | 2 +- libcst/metadata/tests/test_full_repo_manager.py | 2 +- libcst/metadata/tests/test_metadata_provider.py | 2 +- libcst/metadata/tests/test_metadata_wrapper.py | 2 +- libcst/metadata/tests/test_name_provider.py | 2 +- libcst/metadata/tests/test_parent_node_provider.py | 2 +- libcst/metadata/tests/test_position_provider.py | 2 +- libcst/metadata/tests/test_reentrant_codegen.py | 2 +- libcst/metadata/tests/test_scope_provider.py | 2 +- libcst/metadata/tests/test_span_provider.py | 2 +- libcst/metadata/tests/test_type_inference_provider.py | 2 +- libcst/metadata/type_inference_provider.py | 2 +- libcst/metadata/wrapper.py | 2 +- libcst/testing/__init__.py | 2 +- libcst/testing/utils.py | 2 +- libcst/tests/__init__.py | 2 +- libcst/tests/pyre/simple_class.py | 2 +- libcst/tests/test_batched_visitor.py | 2 +- libcst/tests/test_deep_clone.py | 2 +- libcst/tests/test_deep_replace.py | 2 +- libcst/tests/test_exceptions.py | 2 +- libcst/tests/test_pyre_integration.py | 2 +- libcst/tests/test_tabs.py | 2 +- libcst/tests/test_tool.py | 2 +- libcst/tests/test_type_enforce.py | 2 +- libcst/tests/test_visitor.py | 2 +- libcst/tool.py | 2 +- native/libcst/Cargo.toml | 2 +- native/libcst/benches/parser_benchmark.rs | 5 +++++ native/libcst/src/bin.rs | 5 +++++ native/libcst/src/lib.rs | 2 +- native/libcst/src/nodes/codegen.rs | 2 +- native/libcst/src/nodes/expression.rs | 2 +- native/libcst/src/nodes/inflate_helpers.rs | 5 +++++ native/libcst/src/nodes/macros.rs | 2 +- native/libcst/src/nodes/mod.rs | 5 +++++ native/libcst/src/nodes/module.rs | 2 +- native/libcst/src/nodes/op.rs | 2 +- native/libcst/src/nodes/parser_config.rs | 2 +- native/libcst/src/nodes/py_cached.rs | 2 +- native/libcst/src/nodes/statement.rs | 2 +- native/libcst/src/nodes/test_utils.rs | 2 +- native/libcst/src/nodes/traits.rs | 5 +++++ native/libcst/src/nodes/whitespace.rs | 2 +- native/libcst/src/parser/errors.rs | 5 +++++ native/libcst/src/parser/grammar.rs | 2 +- native/libcst/src/parser/mod.rs | 5 +++++ native/libcst/src/parser/numbers.rs | 5 +++++ native/libcst/src/py.rs | 5 +++++ native/libcst/src/tokenizer/core/mod.rs | 2 +- native/libcst/src/tokenizer/core/string_types.rs | 2 +- native/libcst/src/tokenizer/debug_utils.rs | 2 +- native/libcst/src/tokenizer/mod.rs | 2 +- native/libcst/src/tokenizer/operators.rs | 2 +- native/libcst/src/tokenizer/tests.rs | 2 +- native/libcst/src/tokenizer/text_position/char_width.rs | 2 +- native/libcst/src/tokenizer/text_position/mod.rs | 2 +- native/libcst/src/tokenizer/whitespace_parser.rs | 5 +++++ native/libcst/tests/parser_roundtrip.rs | 5 +++++ native/libcst_derive/src/codegen.rs | 5 +++++ native/libcst_derive/src/inflate.rs | 5 +++++ native/libcst_derive/src/into_py.rs | 5 +++++ native/libcst_derive/src/lib.rs | 5 +++++ native/libcst_derive/src/parenthesized_node.rs | 5 +++++ setup.py | 2 +- stubs/libcst_native/parser_config.pyi | 6 +----- stubs/libcst_native/token_type.pyi | 2 +- stubs/libcst_native/tokenize.pyi | 2 +- stubs/libcst_native/whitespace_parser.pyi | 2 +- stubs/libcst_native/whitespace_state.pyi | 3 +-- 296 files changed, 364 insertions(+), 289 deletions(-) diff --git a/LICENSE b/LICENSE index 13df011c..ad52f20b 100644 --- a/LICENSE +++ b/LICENSE @@ -26,7 +26,7 @@ These files are: MIT License -Copyright (c) Facebook, Inc. and its affiliates. +Copyright (c) Meta Platforms, Inc. and affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css index 80660072..5b756e8a 100644 --- a/docs/source/_static/custom.css +++ b/docs/source/_static/custom.css @@ -1,5 +1,5 @@ /** - * Copyright (c) Facebook, Inc. and its affiliates. + * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. diff --git a/docs/source/conf.py b/docs/source/conf.py index 22ca3e8b..2f20dcab 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -26,7 +26,7 @@ # -- Project information ----------------------------------------------------- project = "LibCST" -copyright = "2019, Facebook" +copyright = "Meta Platforms, Inc. and affiliates" author = "Benjamin Woodruff, Jennifer Taylor, Carl Meyer, Jimmy Lai, Ray Zeng" # The short X.Y version diff --git a/libcst/__init__.py b/libcst/__init__.py index 01c1850c..c51dd9bc 100644 --- a/libcst/__init__.py +++ b/libcst/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_batched_visitor.py b/libcst/_batched_visitor.py index 1f2c1a45..d853738f 100644 --- a/libcst/_batched_visitor.py +++ b/libcst/_batched_visitor.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_exceptions.py b/libcst/_exceptions.py index b549602f..0ba689c2 100644 --- a/libcst/_exceptions.py +++ b/libcst/_exceptions.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_flatten_sentinel.py b/libcst/_flatten_sentinel.py index 44865050..b41d66ef 100644 --- a/libcst/_flatten_sentinel.py +++ b/libcst/_flatten_sentinel.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_maybe_sentinel.py b/libcst/_maybe_sentinel.py index f3cac711..d5eaab11 100644 --- a/libcst/_maybe_sentinel.py +++ b/libcst/_maybe_sentinel.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_metadata_dependent.py b/libcst/_metadata_dependent.py index 1a1ca61f..6a768270 100644 --- a/libcst/_metadata_dependent.py +++ b/libcst/_metadata_dependent.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/__init__.py b/libcst/_nodes/__init__.py index 01f1f091..35d483bc 100644 --- a/libcst/_nodes/__init__.py +++ b/libcst/_nodes/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/base.py b/libcst/_nodes/base.py index 21c6061c..fd86cad4 100644 --- a/libcst/_nodes/base.py +++ b/libcst/_nodes/base.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/deep_equals.py b/libcst/_nodes/deep_equals.py index 1e18227c..de08be7f 100644 --- a/libcst/_nodes/deep_equals.py +++ b/libcst/_nodes/deep_equals.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/expression.py b/libcst/_nodes/expression.py index cd177daa..2dc7c882 100644 --- a/libcst/_nodes/expression.py +++ b/libcst/_nodes/expression.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/internal.py b/libcst/_nodes/internal.py index 4b4dfcaa..35d89743 100644 --- a/libcst/_nodes/internal.py +++ b/libcst/_nodes/internal.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/module.py b/libcst/_nodes/module.py index 51643ff5..149a4375 100644 --- a/libcst/_nodes/module.py +++ b/libcst/_nodes/module.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/op.py b/libcst/_nodes/op.py index 54fdd73c..ea02835a 100644 --- a/libcst/_nodes/op.py +++ b/libcst/_nodes/op.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/statement.py b/libcst/_nodes/statement.py index 5e8068ee..bf82d8a1 100644 --- a/libcst/_nodes/statement.py +++ b/libcst/_nodes/statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/__init__.py b/libcst/_nodes/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_nodes/tests/__init__.py +++ b/libcst/_nodes/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/base.py b/libcst/_nodes/tests/base.py index ed3b2b10..3ac22890 100644 --- a/libcst/_nodes/tests/base.py +++ b/libcst/_nodes/tests/base.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_assert.py b/libcst/_nodes/tests/test_assert.py index 4af2e53a..5d080215 100644 --- a/libcst/_nodes/tests/test_assert.py +++ b/libcst/_nodes/tests/test_assert.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_assign.py b/libcst/_nodes/tests/test_assign.py index 7b107d94..b91533b3 100644 --- a/libcst/_nodes/tests/test_assign.py +++ b/libcst/_nodes/tests/test_assign.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_atom.py b/libcst/_nodes/tests/test_atom.py index d6544e2f..c2e31608 100644 --- a/libcst/_nodes/tests/test_atom.py +++ b/libcst/_nodes/tests/test_atom.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_attribute.py b/libcst/_nodes/tests/test_attribute.py index e3c021e3..ef017a1e 100644 --- a/libcst/_nodes/tests/test_attribute.py +++ b/libcst/_nodes/tests/test_attribute.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_await.py b/libcst/_nodes/tests/test_await.py index aa404b44..8aa408a9 100644 --- a/libcst/_nodes/tests/test_await.py +++ b/libcst/_nodes/tests/test_await.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_binary_op.py b/libcst/_nodes/tests/test_binary_op.py index 50f8ff79..b6ac8b09 100644 --- a/libcst/_nodes/tests/test_binary_op.py +++ b/libcst/_nodes/tests/test_binary_op.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_boolean_op.py b/libcst/_nodes/tests/test_boolean_op.py index bf63a49d..efde7ce4 100644 --- a/libcst/_nodes/tests/test_boolean_op.py +++ b/libcst/_nodes/tests/test_boolean_op.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_call.py b/libcst/_nodes/tests/test_call.py index c58af996..666db00d 100644 --- a/libcst/_nodes/tests/test_call.py +++ b/libcst/_nodes/tests/test_call.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_classdef.py b/libcst/_nodes/tests/test_classdef.py index 1f0c4090..db582dce 100644 --- a/libcst/_nodes/tests/test_classdef.py +++ b/libcst/_nodes/tests/test_classdef.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_comment.py b/libcst/_nodes/tests/test_comment.py index 79393765..a2c8d2c9 100644 --- a/libcst/_nodes/tests/test_comment.py +++ b/libcst/_nodes/tests/test_comment.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_comparison.py b/libcst/_nodes/tests/test_comparison.py index b70dab1e..d4b985c7 100644 --- a/libcst/_nodes/tests/test_comparison.py +++ b/libcst/_nodes/tests/test_comparison.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_cst_node.py b/libcst/_nodes/tests/test_cst_node.py index 84611184..8cc30dc6 100644 --- a/libcst/_nodes/tests/test_cst_node.py +++ b/libcst/_nodes/tests/test_cst_node.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_del.py b/libcst/_nodes/tests/test_del.py index 83d97cb4..ecbebcb5 100644 --- a/libcst/_nodes/tests/test_del.py +++ b/libcst/_nodes/tests/test_del.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_dict.py b/libcst/_nodes/tests/test_dict.py index 430be588..1ee33332 100644 --- a/libcst/_nodes/tests/test_dict.py +++ b/libcst/_nodes/tests/test_dict.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_dict_comp.py b/libcst/_nodes/tests/test_dict_comp.py index 829cb96f..a9970f9d 100644 --- a/libcst/_nodes/tests/test_dict_comp.py +++ b/libcst/_nodes/tests/test_dict_comp.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_docstring.py b/libcst/_nodes/tests/test_docstring.py index 8bb8b555..7c87a9c0 100644 --- a/libcst/_nodes/tests/test_docstring.py +++ b/libcst/_nodes/tests/test_docstring.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_else.py b/libcst/_nodes/tests/test_else.py index ffaad752..d144ab81 100644 --- a/libcst/_nodes/tests/test_else.py +++ b/libcst/_nodes/tests/test_else.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_empty_line.py b/libcst/_nodes/tests/test_empty_line.py index ad4c647c..9e1a6f72 100644 --- a/libcst/_nodes/tests/test_empty_line.py +++ b/libcst/_nodes/tests/test_empty_line.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_flatten_behavior.py b/libcst/_nodes/tests/test_flatten_behavior.py index d373b61d..463c457f 100644 --- a/libcst/_nodes/tests/test_flatten_behavior.py +++ b/libcst/_nodes/tests/test_flatten_behavior.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_for.py b/libcst/_nodes/tests/test_for.py index 9fbc3e49..c4d1421b 100644 --- a/libcst/_nodes/tests/test_for.py +++ b/libcst/_nodes/tests/test_for.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_funcdef.py b/libcst/_nodes/tests/test_funcdef.py index 4675f918..5d5a80ac 100644 --- a/libcst/_nodes/tests/test_funcdef.py +++ b/libcst/_nodes/tests/test_funcdef.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_global.py b/libcst/_nodes/tests/test_global.py index 038c0368..da76f9a3 100644 --- a/libcst/_nodes/tests/test_global.py +++ b/libcst/_nodes/tests/test_global.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_if.py b/libcst/_nodes/tests/test_if.py index 52dffa33..e6e4c5ae 100644 --- a/libcst/_nodes/tests/test_if.py +++ b/libcst/_nodes/tests/test_if.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_ifexp.py b/libcst/_nodes/tests/test_ifexp.py index ef65b9d5..e00924b1 100644 --- a/libcst/_nodes/tests/test_ifexp.py +++ b/libcst/_nodes/tests/test_ifexp.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_import.py b/libcst/_nodes/tests/test_import.py index 0da7c38c..eedfcdaf 100644 --- a/libcst/_nodes/tests/test_import.py +++ b/libcst/_nodes/tests/test_import.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_indented_block.py b/libcst/_nodes/tests/test_indented_block.py index 4397c864..8190f2d9 100644 --- a/libcst/_nodes/tests/test_indented_block.py +++ b/libcst/_nodes/tests/test_indented_block.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_lambda.py b/libcst/_nodes/tests/test_lambda.py index 5ff75f1d..82c1b675 100644 --- a/libcst/_nodes/tests/test_lambda.py +++ b/libcst/_nodes/tests/test_lambda.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_leaf_small_statements.py b/libcst/_nodes/tests/test_leaf_small_statements.py index 9ab3e499..fb202002 100644 --- a/libcst/_nodes/tests/test_leaf_small_statements.py +++ b/libcst/_nodes/tests/test_leaf_small_statements.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_list.py b/libcst/_nodes/tests/test_list.py index e2f8bd18..9096ced6 100644 --- a/libcst/_nodes/tests/test_list.py +++ b/libcst/_nodes/tests/test_list.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_matrix_multiply.py b/libcst/_nodes/tests/test_matrix_multiply.py index b91147e6..5b4b8668 100644 --- a/libcst/_nodes/tests/test_matrix_multiply.py +++ b/libcst/_nodes/tests/test_matrix_multiply.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_module.py b/libcst/_nodes/tests/test_module.py index 3177c578..5b33c6b7 100644 --- a/libcst/_nodes/tests/test_module.py +++ b/libcst/_nodes/tests/test_module.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_namedexpr.py b/libcst/_nodes/tests/test_namedexpr.py index 3949bbea..f24045ca 100644 --- a/libcst/_nodes/tests/test_namedexpr.py +++ b/libcst/_nodes/tests/test_namedexpr.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_newline.py b/libcst/_nodes/tests/test_newline.py index ab5935bf..4b5e8d8b 100644 --- a/libcst/_nodes/tests/test_newline.py +++ b/libcst/_nodes/tests/test_newline.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_nonlocal.py b/libcst/_nodes/tests/test_nonlocal.py index 86b65301..62178e4a 100644 --- a/libcst/_nodes/tests/test_nonlocal.py +++ b/libcst/_nodes/tests/test_nonlocal.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_number.py b/libcst/_nodes/tests/test_number.py index 517a97c5..f1b53505 100644 --- a/libcst/_nodes/tests/test_number.py +++ b/libcst/_nodes/tests/test_number.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_raise.py b/libcst/_nodes/tests/test_raise.py index 7113357e..4b2253fd 100644 --- a/libcst/_nodes/tests/test_raise.py +++ b/libcst/_nodes/tests/test_raise.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_removal_behavior.py b/libcst/_nodes/tests/test_removal_behavior.py index e97d3681..9b1bf619 100644 --- a/libcst/_nodes/tests/test_removal_behavior.py +++ b/libcst/_nodes/tests/test_removal_behavior.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_return.py b/libcst/_nodes/tests/test_return.py index 75aa587a..85356e19 100644 --- a/libcst/_nodes/tests/test_return.py +++ b/libcst/_nodes/tests/test_return.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_set.py b/libcst/_nodes/tests/test_set.py index 3c55268f..bdf84955 100644 --- a/libcst/_nodes/tests/test_set.py +++ b/libcst/_nodes/tests/test_set.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_simple_comp.py b/libcst/_nodes/tests/test_simple_comp.py index e7dfdc76..4de0c0a9 100644 --- a/libcst/_nodes/tests/test_simple_comp.py +++ b/libcst/_nodes/tests/test_simple_comp.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_simple_statement.py b/libcst/_nodes/tests/test_simple_statement.py index 5870e56e..847d3e0f 100644 --- a/libcst/_nodes/tests/test_simple_statement.py +++ b/libcst/_nodes/tests/test_simple_statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_simple_whitespace.py b/libcst/_nodes/tests/test_simple_whitespace.py index b571d7f2..fca4139c 100644 --- a/libcst/_nodes/tests/test_simple_whitespace.py +++ b/libcst/_nodes/tests/test_simple_whitespace.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_small_statement.py b/libcst/_nodes/tests/test_small_statement.py index 73e5296f..5defd891 100644 --- a/libcst/_nodes/tests/test_small_statement.py +++ b/libcst/_nodes/tests/test_small_statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_subscript.py b/libcst/_nodes/tests/test_subscript.py index 7e39eb5e..44ccba29 100644 --- a/libcst/_nodes/tests/test_subscript.py +++ b/libcst/_nodes/tests/test_subscript.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_trailing_whitespace.py b/libcst/_nodes/tests/test_trailing_whitespace.py index d11d553e..7b1b2587 100644 --- a/libcst/_nodes/tests/test_trailing_whitespace.py +++ b/libcst/_nodes/tests/test_trailing_whitespace.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_try.py b/libcst/_nodes/tests/test_try.py index df4a6ae4..a0eceac9 100644 --- a/libcst/_nodes/tests/test_try.py +++ b/libcst/_nodes/tests/test_try.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_tuple.py b/libcst/_nodes/tests/test_tuple.py index 6f3b9806..db9f2cce 100644 --- a/libcst/_nodes/tests/test_tuple.py +++ b/libcst/_nodes/tests/test_tuple.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_unary_op.py b/libcst/_nodes/tests/test_unary_op.py index c9dbb53b..28062d8b 100644 --- a/libcst/_nodes/tests/test_unary_op.py +++ b/libcst/_nodes/tests/test_unary_op.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_while.py b/libcst/_nodes/tests/test_while.py index 1bdc8976..adf6e17e 100644 --- a/libcst/_nodes/tests/test_while.py +++ b/libcst/_nodes/tests/test_while.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_with.py b/libcst/_nodes/tests/test_with.py index 4da84b35..2246bc2d 100644 --- a/libcst/_nodes/tests/test_with.py +++ b/libcst/_nodes/tests/test_with.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/tests/test_yield.py b/libcst/_nodes/tests/test_yield.py index 7194c04c..22a18872 100644 --- a/libcst/_nodes/tests/test_yield.py +++ b/libcst/_nodes/tests/test_yield.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_nodes/whitespace.py b/libcst/_nodes/whitespace.py index e16eea43..686c14fb 100644 --- a/libcst/_nodes/whitespace.py +++ b/libcst/_nodes/whitespace.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/__init__.py b/libcst/_parser/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/__init__.py +++ b/libcst/_parser/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/__init__.py b/libcst/_parser/conversions/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/conversions/__init__.py +++ b/libcst/_parser/conversions/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/expression.py b/libcst/_parser/conversions/expression.py index 7d68a168..53c6b0a9 100644 --- a/libcst/_parser/conversions/expression.py +++ b/libcst/_parser/conversions/expression.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/module.py b/libcst/_parser/conversions/module.py index ad3bed66..b40641d0 100644 --- a/libcst/_parser/conversions/module.py +++ b/libcst/_parser/conversions/module.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/params.py b/libcst/_parser/conversions/params.py index 597e7ac9..aa51d681 100644 --- a/libcst/_parser/conversions/params.py +++ b/libcst/_parser/conversions/params.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/statement.py b/libcst/_parser/conversions/statement.py index f6ac7fb6..96e0be1a 100644 --- a/libcst/_parser/conversions/statement.py +++ b/libcst/_parser/conversions/statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/conversions/terminals.py b/libcst/_parser/conversions/terminals.py index 96d9391b..f5697229 100644 --- a/libcst/_parser/conversions/terminals.py +++ b/libcst/_parser/conversions/terminals.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/custom_itertools.py b/libcst/_parser/custom_itertools.py index 867c934e..81cfdb4b 100644 --- a/libcst/_parser/custom_itertools.py +++ b/libcst/_parser/custom_itertools.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/detect_config.py b/libcst/_parser/detect_config.py index ae3222c1..375a4f07 100644 --- a/libcst/_parser/detect_config.py +++ b/libcst/_parser/detect_config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/entrypoints.py b/libcst/_parser/entrypoints.py index af58301a..461433bd 100644 --- a/libcst/_parser/entrypoints.py +++ b/libcst/_parser/entrypoints.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/grammar.py b/libcst/_parser/grammar.py index 7e678acc..8e6ade59 100644 --- a/libcst/_parser/grammar.py +++ b/libcst/_parser/grammar.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/parso/__init__.py b/libcst/_parser/parso/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/parso/__init__.py +++ b/libcst/_parser/parso/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/parso/pgen2/__init__.py b/libcst/_parser/parso/pgen2/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/parso/pgen2/__init__.py +++ b/libcst/_parser/parso/pgen2/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/parso/python/__init__.py b/libcst/_parser/parso/python/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/parso/python/__init__.py +++ b/libcst/_parser/parso/python/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/parso/python/token.py b/libcst/_parser/parso/python/token.py index e4798f10..de883719 100644 --- a/libcst/_parser/parso/python/token.py +++ b/libcst/_parser/parso/python/token.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/parso/tests/__init__.py b/libcst/_parser/parso/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/parso/tests/__init__.py +++ b/libcst/_parser/parso/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/production_decorator.py b/libcst/_parser/production_decorator.py index ffa0d038..3515e0b4 100644 --- a/libcst/_parser/production_decorator.py +++ b/libcst/_parser/production_decorator.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/py_whitespace_parser.py b/libcst/_parser/py_whitespace_parser.py index 25b4c984..a3c53a97 100644 --- a/libcst/_parser/py_whitespace_parser.py +++ b/libcst/_parser/py_whitespace_parser.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/python_parser.py b/libcst/_parser/python_parser.py index 05ea0b57..7f3d53db 100644 --- a/libcst/_parser/python_parser.py +++ b/libcst/_parser/python_parser.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/__init__.py b/libcst/_parser/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/tests/__init__.py +++ b/libcst/_parser/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_config.py b/libcst/_parser/tests/test_config.py index 78692369..d9c31db5 100644 --- a/libcst/_parser/tests/test_config.py +++ b/libcst/_parser/tests/test_config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_detect_config.py b/libcst/_parser/tests/test_detect_config.py index 69300d01..6d9eaa6c 100644 --- a/libcst/_parser/tests/test_detect_config.py +++ b/libcst/_parser/tests/test_detect_config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_footer_behavior.py b/libcst/_parser/tests/test_footer_behavior.py index 951e07f3..ccac8254 100644 --- a/libcst/_parser/tests/test_footer_behavior.py +++ b/libcst/_parser/tests/test_footer_behavior.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_node_identity.py b/libcst/_parser/tests/test_node_identity.py index 6a801a75..91171915 100644 --- a/libcst/_parser/tests/test_node_identity.py +++ b/libcst/_parser/tests/test_node_identity.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_parse_errors.py b/libcst/_parser/tests/test_parse_errors.py index 9e01f1fe..331dd81c 100644 --- a/libcst/_parser/tests/test_parse_errors.py +++ b/libcst/_parser/tests/test_parse_errors.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_version_compare.py b/libcst/_parser/tests/test_version_compare.py index 5e3dacbf..102657d6 100644 --- a/libcst/_parser/tests/test_version_compare.py +++ b/libcst/_parser/tests/test_version_compare.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_whitespace_parser.py b/libcst/_parser/tests/test_whitespace_parser.py index 2ab0206d..bbe8886a 100644 --- a/libcst/_parser/tests/test_whitespace_parser.py +++ b/libcst/_parser/tests/test_whitespace_parser.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/tests/test_wrapped_tokenize.py b/libcst/_parser/tests/test_wrapped_tokenize.py index 75369914..dbaf3700 100644 --- a/libcst/_parser/tests/test_wrapped_tokenize.py +++ b/libcst/_parser/tests/test_wrapped_tokenize.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/__init__.py b/libcst/_parser/types/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/types/__init__.py +++ b/libcst/_parser/types/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/config.py b/libcst/_parser/types/config.py index df133675..1233de0c 100644 --- a/libcst/_parser/types/config.py +++ b/libcst/_parser/types/config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/conversions.py b/libcst/_parser/types/conversions.py index 9951e6da..4c589c52 100644 --- a/libcst/_parser/types/conversions.py +++ b/libcst/_parser/types/conversions.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/partials.py b/libcst/_parser/types/partials.py index abd35071..4db89fab 100644 --- a/libcst/_parser/types/partials.py +++ b/libcst/_parser/types/partials.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/production.py b/libcst/_parser/types/production.py index bb60014a..dfeffe7b 100644 --- a/libcst/_parser/types/production.py +++ b/libcst/_parser/types/production.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/py_config.py b/libcst/_parser/types/py_config.py index 6722a9ea..cb91d558 100644 --- a/libcst/_parser/types/py_config.py +++ b/libcst/_parser/types/py_config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/py_token.py b/libcst/_parser/types/py_token.py index 60ddb2a2..7fac5eb8 100644 --- a/libcst/_parser/types/py_token.py +++ b/libcst/_parser/types/py_token.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/py_whitespace_state.py b/libcst/_parser/types/py_whitespace_state.py index 41244b98..99047590 100644 --- a/libcst/_parser/types/py_whitespace_state.py +++ b/libcst/_parser/types/py_whitespace_state.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/tests/__init__.py b/libcst/_parser/types/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/_parser/types/tests/__init__.py +++ b/libcst/_parser/types/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/tests/test_config.py b/libcst/_parser/types/tests/test_config.py index 98b81b9b..12a6ad27 100644 --- a/libcst/_parser/types/tests/test_config.py +++ b/libcst/_parser/types/tests/test_config.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/token.py b/libcst/_parser/types/token.py index 88d50b25..32c85ccf 100644 --- a/libcst/_parser/types/token.py +++ b/libcst/_parser/types/token.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/types/whitespace_state.py b/libcst/_parser/types/whitespace_state.py index a9798054..7eaeab32 100644 --- a/libcst/_parser/types/whitespace_state.py +++ b/libcst/_parser/types/whitespace_state.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/whitespace_parser.py b/libcst/_parser/whitespace_parser.py index 9ffb6a7d..1fe5a051 100644 --- a/libcst/_parser/whitespace_parser.py +++ b/libcst/_parser/whitespace_parser.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_parser/wrapped_tokenize.py b/libcst/_parser/wrapped_tokenize.py index ae86c910..8d601052 100644 --- a/libcst/_parser/wrapped_tokenize.py +++ b/libcst/_parser/wrapped_tokenize.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_position.py b/libcst/_position.py index 6eb2d68d..ebf3801e 100644 --- a/libcst/_position.py +++ b/libcst/_position.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_removal_sentinel.py b/libcst/_removal_sentinel.py index 581fc6a0..f88f4126 100644 --- a/libcst/_removal_sentinel.py +++ b/libcst/_removal_sentinel.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_tabs.py b/libcst/_tabs.py index 44e245ba..0a98bc55 100644 --- a/libcst/_tabs.py +++ b/libcst/_tabs.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_type_enforce.py b/libcst/_type_enforce.py index 92f158d3..6629eb87 100644 --- a/libcst/_type_enforce.py +++ b/libcst/_type_enforce.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_typed_visitor.py b/libcst/_typed_visitor.py index e9275bac..82ca072d 100644 --- a/libcst/_typed_visitor.py +++ b/libcst/_typed_visitor.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_typed_visitor_base.py b/libcst/_typed_visitor_base.py index 25c3ee15..61b3c2d5 100644 --- a/libcst/_typed_visitor_base.py +++ b/libcst/_typed_visitor_base.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_types.py b/libcst/_types.py index 8c5c380f..8df90ee5 100644 --- a/libcst/_types.py +++ b/libcst/_types.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/_visitors.py b/libcst/_visitors.py index 6bb8557b..79ea6f40 100644 --- a/libcst/_visitors.py +++ b/libcst/_visitors.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/__init__.py b/libcst/codegen/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/codegen/__init__.py +++ b/libcst/codegen/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/gather.py b/libcst/codegen/gather.py index fe309b74..7d7fa8d6 100644 --- a/libcst/codegen/gather.py +++ b/libcst/codegen/gather.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/gen_matcher_classes.py b/libcst/codegen/gen_matcher_classes.py index 59fb251e..c8453a5d 100644 --- a/libcst/codegen/gen_matcher_classes.py +++ b/libcst/codegen/gen_matcher_classes.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -431,7 +431,7 @@ def _get_fields(node: Type[cst.CSTNode]) -> Generator[Field, None, None]: all_exports: Set[str] = set() generated_code: List[str] = [] -generated_code.append("# Copyright (c) Facebook, Inc. and its affiliates.") +generated_code.append("# Copyright (c) Meta Platforms, Inc. and affiliates.") generated_code.append("#") generated_code.append( "# This source code is licensed under the MIT license found in the" diff --git a/libcst/codegen/gen_type_mapping.py b/libcst/codegen/gen_type_mapping.py index 0f229e06..a5af2bd9 100644 --- a/libcst/codegen/gen_type_mapping.py +++ b/libcst/codegen/gen_type_mapping.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -8,7 +8,7 @@ from typing import List from libcst.codegen.gather import imports, nodebases, nodeuses generated_code: List[str] = [] -generated_code.append("# Copyright (c) Facebook, Inc. and its affiliates.") +generated_code.append("# Copyright (c) Meta Platforms, Inc. and affiliates.") generated_code.append("#") generated_code.append( "# This source code is licensed under the MIT license found in the" diff --git a/libcst/codegen/gen_visitor_functions.py b/libcst/codegen/gen_visitor_functions.py index 07bcf95a..ef369cfa 100644 --- a/libcst/codegen/gen_visitor_functions.py +++ b/libcst/codegen/gen_visitor_functions.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -9,7 +9,7 @@ from typing import List from libcst.codegen.gather import imports, nodebases, nodeuses generated_code: List[str] = [] -generated_code.append("# Copyright (c) Facebook, Inc. and its affiliates.") +generated_code.append("# Copyright (c) Meta Platforms, Inc. and affiliates.") generated_code.append("#") generated_code.append( "# This source code is licensed under the MIT license found in the" diff --git a/libcst/codegen/generate.py b/libcst/codegen/generate.py index 6779c17b..82e08c43 100644 --- a/libcst/codegen/generate.py +++ b/libcst/codegen/generate.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/tests/__init__.py b/libcst/codegen/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/codegen/tests/__init__.py +++ b/libcst/codegen/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/tests/test_codegen_clean.py b/libcst/codegen/tests/test_codegen_clean.py index c2f18df2..b346570d 100644 --- a/libcst/codegen/tests/test_codegen_clean.py +++ b/libcst/codegen/tests/test_codegen_clean.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codegen/transforms.py b/libcst/codegen/transforms.py index 61bbddf5..22f9058e 100644 --- a/libcst/codegen/transforms.py +++ b/libcst/codegen/transforms.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/__init__.py b/libcst/codemod/__init__.py index c072d69a..140b8ef8 100644 --- a/libcst/codemod/__init__.py +++ b/libcst/codemod/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_cli.py b/libcst/codemod/_cli.py index f944de51..5a25a794 100644 --- a/libcst/codemod/_cli.py +++ b/libcst/codemod/_cli.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_codemod.py b/libcst/codemod/_codemod.py index 0bb4e7db..c0c3b2c7 100644 --- a/libcst/codemod/_codemod.py +++ b/libcst/codemod/_codemod.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_command.py b/libcst/codemod/_command.py index 0196eb27..2355d492 100644 --- a/libcst/codemod/_command.py +++ b/libcst/codemod/_command.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_context.py b/libcst/codemod/_context.py index 98e57adf..04154859 100644 --- a/libcst/codemod/_context.py +++ b/libcst/codemod/_context.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_dummy_pool.py b/libcst/codemod/_dummy_pool.py index f80e06de..c4a24932 100644 --- a/libcst/codemod/_dummy_pool.py +++ b/libcst/codemod/_dummy_pool.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_runner.py b/libcst/codemod/_runner.py index fe3b8e91..4e76a935 100644 --- a/libcst/codemod/_runner.py +++ b/libcst/codemod/_runner.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_testing.py b/libcst/codemod/_testing.py index 1152ad3c..c727acbf 100644 --- a/libcst/codemod/_testing.py +++ b/libcst/codemod/_testing.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/_visitor.py b/libcst/codemod/_visitor.py index d368b854..ab915c49 100644 --- a/libcst/codemod/_visitor.py +++ b/libcst/codemod/_visitor.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/__init__.py b/libcst/codemod/commands/__init__.py index 602d2685..aac70d45 100644 --- a/libcst/codemod/commands/__init__.py +++ b/libcst/codemod/commands/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/add_pyre_directive.py b/libcst/codemod/commands/add_pyre_directive.py index 165ebb0b..bee95c61 100644 --- a/libcst/codemod/commands/add_pyre_directive.py +++ b/libcst/codemod/commands/add_pyre_directive.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/convert_format_to_fstring.py b/libcst/codemod/commands/convert_format_to_fstring.py index 29e81246..bebff329 100644 --- a/libcst/codemod/commands/convert_format_to_fstring.py +++ b/libcst/codemod/commands/convert_format_to_fstring.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/convert_namedtuple_to_dataclass.py b/libcst/codemod/commands/convert_namedtuple_to_dataclass.py index 09935b70..91e78048 100644 --- a/libcst/codemod/commands/convert_namedtuple_to_dataclass.py +++ b/libcst/codemod/commands/convert_namedtuple_to_dataclass.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/convert_percent_format_to_fstring.py b/libcst/codemod/commands/convert_percent_format_to_fstring.py index 2190f808..4ba1e753 100644 --- a/libcst/codemod/commands/convert_percent_format_to_fstring.py +++ b/libcst/codemod/commands/convert_percent_format_to_fstring.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/ensure_import_present.py b/libcst/codemod/commands/ensure_import_present.py index c2ec033f..eaf16123 100644 --- a/libcst/codemod/commands/ensure_import_present.py +++ b/libcst/codemod/commands/ensure_import_present.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/fix_pyre_directives.py b/libcst/codemod/commands/fix_pyre_directives.py index b5310d8b..c3ab41b7 100644 --- a/libcst/codemod/commands/fix_pyre_directives.py +++ b/libcst/codemod/commands/fix_pyre_directives.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/noop.py b/libcst/codemod/commands/noop.py index eef1d897..23ea0a17 100644 --- a/libcst/codemod/commands/noop.py +++ b/libcst/codemod/commands/noop.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/remove_pyre_directive.py b/libcst/codemod/commands/remove_pyre_directive.py index a9d38506..01bf89a6 100644 --- a/libcst/codemod/commands/remove_pyre_directive.py +++ b/libcst/codemod/commands/remove_pyre_directive.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/remove_unused_imports.py b/libcst/codemod/commands/remove_unused_imports.py index b11e44c0..e9938d8a 100644 --- a/libcst/codemod/commands/remove_unused_imports.py +++ b/libcst/codemod/commands/remove_unused_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/rename.py b/libcst/codemod/commands/rename.py index 03d5ddef..cd0a417f 100644 --- a/libcst/codemod/commands/rename.py +++ b/libcst/codemod/commands/rename.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/strip_strings_from_types.py b/libcst/codemod/commands/strip_strings_from_types.py index b219a7db..6564d041 100644 --- a/libcst/codemod/commands/strip_strings_from_types.py +++ b/libcst/codemod/commands/strip_strings_from_types.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/__init__.py b/libcst/codemod/commands/tests/__init__.py index 602d2685..aac70d45 100644 --- a/libcst/codemod/commands/tests/__init__.py +++ b/libcst/codemod/commands/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_add_pyre_directive.py b/libcst/codemod/commands/tests/test_add_pyre_directive.py index b7fad93d..a8e7e45a 100644 --- a/libcst/codemod/commands/tests/test_add_pyre_directive.py +++ b/libcst/codemod/commands/tests/test_add_pyre_directive.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_convert_format_to_fstring.py b/libcst/codemod/commands/tests/test_convert_format_to_fstring.py index 35a7aece..b2209cdc 100644 --- a/libcst/codemod/commands/tests/test_convert_format_to_fstring.py +++ b/libcst/codemod/commands/tests/test_convert_format_to_fstring.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_convert_namedtuple_to_dataclass.py b/libcst/codemod/commands/tests/test_convert_namedtuple_to_dataclass.py index 675bf58a..866f03c4 100644 --- a/libcst/codemod/commands/tests/test_convert_namedtuple_to_dataclass.py +++ b/libcst/codemod/commands/tests/test_convert_namedtuple_to_dataclass.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_convert_percent_format_to_fstring.py b/libcst/codemod/commands/tests/test_convert_percent_format_to_fstring.py index 2e65eac2..af34d3e1 100644 --- a/libcst/codemod/commands/tests/test_convert_percent_format_to_fstring.py +++ b/libcst/codemod/commands/tests/test_convert_percent_format_to_fstring.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_ensure_import_present.py b/libcst/codemod/commands/tests/test_ensure_import_present.py index b389c3bf..f9329957 100644 --- a/libcst/codemod/commands/tests/test_ensure_import_present.py +++ b/libcst/codemod/commands/tests/test_ensure_import_present.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_fix_pyre_directives.py b/libcst/codemod/commands/tests/test_fix_pyre_directives.py index dea57825..8871397a 100644 --- a/libcst/codemod/commands/tests/test_fix_pyre_directives.py +++ b/libcst/codemod/commands/tests/test_fix_pyre_directives.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_noop.py b/libcst/codemod/commands/tests/test_noop.py index 827f3a3c..12995f5c 100644 --- a/libcst/codemod/commands/tests/test_noop.py +++ b/libcst/codemod/commands/tests/test_noop.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_remove_pyre_directive.py b/libcst/codemod/commands/tests/test_remove_pyre_directive.py index 06ccb8f8..74c1847c 100644 --- a/libcst/codemod/commands/tests/test_remove_pyre_directive.py +++ b/libcst/codemod/commands/tests/test_remove_pyre_directive.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_remove_unused_imports.py b/libcst/codemod/commands/tests/test_remove_unused_imports.py index 23b1c727..dc2b3366 100644 --- a/libcst/codemod/commands/tests/test_remove_unused_imports.py +++ b/libcst/codemod/commands/tests/test_remove_unused_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_rename.py b/libcst/codemod/commands/tests/test_rename.py index aa95801e..e0668bfb 100644 --- a/libcst/codemod/commands/tests/test_rename.py +++ b/libcst/codemod/commands/tests/test_rename.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_strip_strings_from_types.py b/libcst/codemod/commands/tests/test_strip_strings_from_types.py index 3ec292b9..64a2fd10 100644 --- a/libcst/codemod/commands/tests/test_strip_strings_from_types.py +++ b/libcst/codemod/commands/tests/test_strip_strings_from_types.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/tests/test_unnecessary_format_string.py b/libcst/codemod/commands/tests/test_unnecessary_format_string.py index ebf1977a..e980bd38 100644 --- a/libcst/codemod/commands/tests/test_unnecessary_format_string.py +++ b/libcst/codemod/commands/tests/test_unnecessary_format_string.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/commands/unnecessary_format_string.py b/libcst/codemod/commands/unnecessary_format_string.py index a539d213..d3bcd1c9 100644 --- a/libcst/codemod/commands/unnecessary_format_string.py +++ b/libcst/codemod/commands/unnecessary_format_string.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/__init__.py b/libcst/codemod/tests/__init__.py index 602d2685..aac70d45 100644 --- a/libcst/codemod/tests/__init__.py +++ b/libcst/codemod/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/codemod_formatter_error_input.py.txt b/libcst/codemod/tests/codemod_formatter_error_input.py.txt index c83c175a..02cef44e 100644 --- a/libcst/codemod/tests/codemod_formatter_error_input.py.txt +++ b/libcst/codemod/tests/codemod_formatter_error_input.py.txt @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/test_cli.py b/libcst/codemod/tests/test_cli.py index 45a6924c..9c1834e5 100644 --- a/libcst/codemod/tests/test_cli.py +++ b/libcst/codemod/tests/test_cli.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/test_codemod.py b/libcst/codemod/tests/test_codemod.py index 4fb5dbaa..754f35fe 100644 --- a/libcst/codemod/tests/test_codemod.py +++ b/libcst/codemod/tests/test_codemod.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/test_codemod_cli.py b/libcst/codemod/tests/test_codemod_cli.py index f586ea19..934ae667 100644 --- a/libcst/codemod/tests/test_codemod_cli.py +++ b/libcst/codemod/tests/test_codemod_cli.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/test_metadata.py b/libcst/codemod/tests/test_metadata.py index acd25bf4..1a99b3dd 100644 --- a/libcst/codemod/tests/test_metadata.py +++ b/libcst/codemod/tests/test_metadata.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/tests/test_runner.py b/libcst/codemod/tests/test_runner.py index 9eda2ef9..2a714e07 100644 --- a/libcst/codemod/tests/test_runner.py +++ b/libcst/codemod/tests/test_runner.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/__init__.py b/libcst/codemod/visitors/__init__.py index 12f36f65..a1416505 100644 --- a/libcst/codemod/visitors/__init__.py +++ b/libcst/codemod/visitors/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_add_imports.py b/libcst/codemod/visitors/_add_imports.py index ccafc9c2..89897fb5 100644 --- a/libcst/codemod/visitors/_add_imports.py +++ b/libcst/codemod/visitors/_add_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_apply_type_annotations.py b/libcst/codemod/visitors/_apply_type_annotations.py index 8d6181ac..d29b6c9f 100644 --- a/libcst/codemod/visitors/_apply_type_annotations.py +++ b/libcst/codemod/visitors/_apply_type_annotations.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016-present, Facebook, Inc. +# Copyright (c) 2016-present, Meta Platforms, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree diff --git a/libcst/codemod/visitors/_gather_comments.py b/libcst/codemod/visitors/_gather_comments.py index 5adcecf0..e499382b 100644 --- a/libcst/codemod/visitors/_gather_comments.py +++ b/libcst/codemod/visitors/_gather_comments.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_gather_exports.py b/libcst/codemod/visitors/_gather_exports.py index 5186415c..a35b389a 100644 --- a/libcst/codemod/visitors/_gather_exports.py +++ b/libcst/codemod/visitors/_gather_exports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_gather_imports.py b/libcst/codemod/visitors/_gather_imports.py index 5920890f..5d5a50f9 100644 --- a/libcst/codemod/visitors/_gather_imports.py +++ b/libcst/codemod/visitors/_gather_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_gather_string_annotation_names.py b/libcst/codemod/visitors/_gather_string_annotation_names.py index 81e8488f..0f1b926b 100644 --- a/libcst/codemod/visitors/_gather_string_annotation_names.py +++ b/libcst/codemod/visitors/_gather_string_annotation_names.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_gather_unused_imports.py b/libcst/codemod/visitors/_gather_unused_imports.py index 2dc439ac..c2101733 100644 --- a/libcst/codemod/visitors/_gather_unused_imports.py +++ b/libcst/codemod/visitors/_gather_unused_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/_remove_imports.py b/libcst/codemod/visitors/_remove_imports.py index 9d3b6902..4c53ef19 100644 --- a/libcst/codemod/visitors/_remove_imports.py +++ b/libcst/codemod/visitors/_remove_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/__init__.py b/libcst/codemod/visitors/tests/__init__.py index 602d2685..aac70d45 100644 --- a/libcst/codemod/visitors/tests/__init__.py +++ b/libcst/codemod/visitors/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_add_imports.py b/libcst/codemod/visitors/tests/test_add_imports.py index 57060269..4e410a14 100644 --- a/libcst/codemod/visitors/tests/test_add_imports.py +++ b/libcst/codemod/visitors/tests/test_add_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_apply_type_annotations.py b/libcst/codemod/visitors/tests/test_apply_type_annotations.py index 7514d073..80ed335d 100644 --- a/libcst/codemod/visitors/tests/test_apply_type_annotations.py +++ b/libcst/codemod/visitors/tests/test_apply_type_annotations.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016-present, Facebook, Inc. +# Copyright (c) 2016-present, Meta Platforms, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_gather_comments.py b/libcst/codemod/visitors/tests/test_gather_comments.py index da93823e..72511842 100644 --- a/libcst/codemod/visitors/tests/test_gather_comments.py +++ b/libcst/codemod/visitors/tests/test_gather_comments.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_gather_exports.py b/libcst/codemod/visitors/tests/test_gather_exports.py index 56d885e7..3ac9e9ce 100644 --- a/libcst/codemod/visitors/tests/test_gather_exports.py +++ b/libcst/codemod/visitors/tests/test_gather_exports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_gather_imports.py b/libcst/codemod/visitors/tests/test_gather_imports.py index b1e2c102..3e5d6b99 100644 --- a/libcst/codemod/visitors/tests/test_gather_imports.py +++ b/libcst/codemod/visitors/tests/test_gather_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_gather_string_annotation_names.py b/libcst/codemod/visitors/tests/test_gather_string_annotation_names.py index 25f2d070..f8a11fcc 100644 --- a/libcst/codemod/visitors/tests/test_gather_string_annotation_names.py +++ b/libcst/codemod/visitors/tests/test_gather_string_annotation_names.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_gather_unused_imports.py b/libcst/codemod/visitors/tests/test_gather_unused_imports.py index 5fb3cba2..e6e0d9bb 100644 --- a/libcst/codemod/visitors/tests/test_gather_unused_imports.py +++ b/libcst/codemod/visitors/tests/test_gather_unused_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/codemod/visitors/tests/test_remove_imports.py b/libcst/codemod/visitors/tests/test_remove_imports.py index 564cf21e..93e5d7a5 100644 --- a/libcst/codemod/visitors/tests/test_remove_imports.py +++ b/libcst/codemod/visitors/tests/test_remove_imports.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/__init__.py b/libcst/helpers/__init__.py index 4621c58f..3e23a6d9 100644 --- a/libcst/helpers/__init__.py +++ b/libcst/helpers/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/_statement.py b/libcst/helpers/_statement.py index a9431b44..0d21e225 100644 --- a/libcst/helpers/_statement.py +++ b/libcst/helpers/_statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/_template.py b/libcst/helpers/_template.py index d1f02252..e3f915a5 100644 --- a/libcst/helpers/_template.py +++ b/libcst/helpers/_template.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/common.py b/libcst/helpers/common.py index 5bf7e460..0965abeb 100644 --- a/libcst/helpers/common.py +++ b/libcst/helpers/common.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/expression.py b/libcst/helpers/expression.py index 2a93c509..beb5f324 100644 --- a/libcst/helpers/expression.py +++ b/libcst/helpers/expression.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/module.py b/libcst/helpers/module.py index 5f2bddbe..7ae9f7d7 100644 --- a/libcst/helpers/module.py +++ b/libcst/helpers/module.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/tests/__init__.py b/libcst/helpers/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/helpers/tests/__init__.py +++ b/libcst/helpers/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/tests/test_expression.py b/libcst/helpers/tests/test_expression.py index af9f820c..2b44e14b 100644 --- a/libcst/helpers/tests/test_expression.py +++ b/libcst/helpers/tests/test_expression.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/tests/test_module.py b/libcst/helpers/tests/test_module.py index c5be94d5..687e0260 100644 --- a/libcst/helpers/tests/test_module.py +++ b/libcst/helpers/tests/test_module.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/tests/test_statement.py b/libcst/helpers/tests/test_statement.py index 9db114c0..f26900bd 100644 --- a/libcst/helpers/tests/test_statement.py +++ b/libcst/helpers/tests/test_statement.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/helpers/tests/test_template.py b/libcst/helpers/tests/test_template.py index 1805fb51..cef82dde 100644 --- a/libcst/helpers/tests/test_template.py +++ b/libcst/helpers/tests/test_template.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/__init__.py b/libcst/matchers/__init__.py index 27eab2ab..2d0121a0 100644 --- a/libcst/matchers/__init__.py +++ b/libcst/matchers/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/_decorators.py b/libcst/matchers/_decorators.py index b6b236cc..68d1eb4e 100644 --- a/libcst/matchers/_decorators.py +++ b/libcst/matchers/_decorators.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/_matcher_base.py b/libcst/matchers/_matcher_base.py index 58b352be..e76877de 100644 --- a/libcst/matchers/_matcher_base.py +++ b/libcst/matchers/_matcher_base.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/_return_types.py b/libcst/matchers/_return_types.py index 5aae0292..af0017f9 100644 --- a/libcst/matchers/_return_types.py +++ b/libcst/matchers/_return_types.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/_visitors.py b/libcst/matchers/_visitors.py index 5e53d379..fe95b385 100644 --- a/libcst/matchers/_visitors.py +++ b/libcst/matchers/_visitors.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/__init__.py b/libcst/matchers/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/matchers/tests/__init__.py +++ b/libcst/matchers/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_decorators.py b/libcst/matchers/tests/test_decorators.py index 196e109a..7486cee8 100644 --- a/libcst/matchers/tests/test_decorators.py +++ b/libcst/matchers/tests/test_decorators.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_extract.py b/libcst/matchers/tests/test_extract.py index 298f3fec..50a24c27 100644 --- a/libcst/matchers/tests/test_extract.py +++ b/libcst/matchers/tests/test_extract.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_findall.py b/libcst/matchers/tests/test_findall.py index 95233f53..77316a1a 100644 --- a/libcst/matchers/tests/test_findall.py +++ b/libcst/matchers/tests/test_findall.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_matchers.py b/libcst/matchers/tests/test_matchers.py index 11d6b5f5..9d79f640 100644 --- a/libcst/matchers/tests/test_matchers.py +++ b/libcst/matchers/tests/test_matchers.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_matchers_with_metadata.py b/libcst/matchers/tests/test_matchers_with_metadata.py index a41913d9..e4bdf07e 100644 --- a/libcst/matchers/tests/test_matchers_with_metadata.py +++ b/libcst/matchers/tests/test_matchers_with_metadata.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_replace.py b/libcst/matchers/tests/test_replace.py index cc922446..db9674f5 100644 --- a/libcst/matchers/tests/test_replace.py +++ b/libcst/matchers/tests/test_replace.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/matchers/tests/test_visitors.py b/libcst/matchers/tests/test_visitors.py index 8a9afd69..2c059921 100644 --- a/libcst/matchers/tests/test_visitors.py +++ b/libcst/matchers/tests/test_visitors.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/__init__.py b/libcst/metadata/__init__.py index 0603f098..75e38229 100644 --- a/libcst/metadata/__init__.py +++ b/libcst/metadata/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/base_provider.py b/libcst/metadata/base_provider.py index f2c99495..69af2dce 100644 --- a/libcst/metadata/base_provider.py +++ b/libcst/metadata/base_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/expression_context_provider.py b/libcst/metadata/expression_context_provider.py index 8eda53c8..beec959d 100644 --- a/libcst/metadata/expression_context_provider.py +++ b/libcst/metadata/expression_context_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/full_repo_manager.py b/libcst/metadata/full_repo_manager.py index f9ba1406..2a05475e 100644 --- a/libcst/metadata/full_repo_manager.py +++ b/libcst/metadata/full_repo_manager.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/name_provider.py b/libcst/metadata/name_provider.py index e26a3eb5..174aff73 100644 --- a/libcst/metadata/name_provider.py +++ b/libcst/metadata/name_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/parent_node_provider.py b/libcst/metadata/parent_node_provider.py index 1e569d51..901891b9 100644 --- a/libcst/metadata/parent_node_provider.py +++ b/libcst/metadata/parent_node_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/position_provider.py b/libcst/metadata/position_provider.py index 004487b3..bbc9bb72 100644 --- a/libcst/metadata/position_provider.py +++ b/libcst/metadata/position_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/reentrant_codegen.py b/libcst/metadata/reentrant_codegen.py index 89e11c93..899d2f1f 100644 --- a/libcst/metadata/reentrant_codegen.py +++ b/libcst/metadata/reentrant_codegen.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/scope_provider.py b/libcst/metadata/scope_provider.py index a8989992..0e87063c 100644 --- a/libcst/metadata/scope_provider.py +++ b/libcst/metadata/scope_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/span_provider.py b/libcst/metadata/span_provider.py index 400ec284..39e7b86c 100644 --- a/libcst/metadata/span_provider.py +++ b/libcst/metadata/span_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/__init__.py b/libcst/metadata/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/metadata/tests/__init__.py +++ b/libcst/metadata/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_base_provider.py b/libcst/metadata/tests/test_base_provider.py index e19a4571..0bf4ca51 100644 --- a/libcst/metadata/tests/test_base_provider.py +++ b/libcst/metadata/tests/test_base_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_expression_context_provider.py b/libcst/metadata/tests/test_expression_context_provider.py index a0292872..88ed0a88 100644 --- a/libcst/metadata/tests/test_expression_context_provider.py +++ b/libcst/metadata/tests/test_expression_context_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_full_repo_manager.py b/libcst/metadata/tests/test_full_repo_manager.py index c7a458d1..27066f5a 100644 --- a/libcst/metadata/tests/test_full_repo_manager.py +++ b/libcst/metadata/tests/test_full_repo_manager.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_metadata_provider.py b/libcst/metadata/tests/test_metadata_provider.py index 4f7be175..7de94851 100644 --- a/libcst/metadata/tests/test_metadata_provider.py +++ b/libcst/metadata/tests/test_metadata_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_metadata_wrapper.py b/libcst/metadata/tests/test_metadata_wrapper.py index 36fe7d5b..72b09b04 100644 --- a/libcst/metadata/tests/test_metadata_wrapper.py +++ b/libcst/metadata/tests/test_metadata_wrapper.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_name_provider.py b/libcst/metadata/tests/test_name_provider.py index 94b40c21..072a7405 100644 --- a/libcst/metadata/tests/test_name_provider.py +++ b/libcst/metadata/tests/test_name_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_parent_node_provider.py b/libcst/metadata/tests/test_parent_node_provider.py index 00b54cdc..f04c1051 100644 --- a/libcst/metadata/tests/test_parent_node_provider.py +++ b/libcst/metadata/tests/test_parent_node_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_position_provider.py b/libcst/metadata/tests/test_position_provider.py index 03132428..c479837e 100644 --- a/libcst/metadata/tests/test_position_provider.py +++ b/libcst/metadata/tests/test_position_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_reentrant_codegen.py b/libcst/metadata/tests/test_reentrant_codegen.py index fbb686e7..c76b2828 100644 --- a/libcst/metadata/tests/test_reentrant_codegen.py +++ b/libcst/metadata/tests/test_reentrant_codegen.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_scope_provider.py b/libcst/metadata/tests/test_scope_provider.py index e61f43b8..1f007200 100644 --- a/libcst/metadata/tests/test_scope_provider.py +++ b/libcst/metadata/tests/test_scope_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_span_provider.py b/libcst/metadata/tests/test_span_provider.py index 9626894a..01aaef37 100644 --- a/libcst/metadata/tests/test_span_provider.py +++ b/libcst/metadata/tests/test_span_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/tests/test_type_inference_provider.py b/libcst/metadata/tests/test_type_inference_provider.py index 383fa3d8..ad1f4471 100644 --- a/libcst/metadata/tests/test_type_inference_provider.py +++ b/libcst/metadata/tests/test_type_inference_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/type_inference_provider.py b/libcst/metadata/type_inference_provider.py index 3ce4d02c..da32e92c 100644 --- a/libcst/metadata/type_inference_provider.py +++ b/libcst/metadata/type_inference_provider.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/metadata/wrapper.py b/libcst/metadata/wrapper.py index 828dcfc1..d8e9f0fb 100644 --- a/libcst/metadata/wrapper.py +++ b/libcst/metadata/wrapper.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/testing/__init__.py b/libcst/testing/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/testing/__init__.py +++ b/libcst/testing/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/testing/utils.py b/libcst/testing/utils.py index 5a1e2023..07ef26e9 100644 --- a/libcst/testing/utils.py +++ b/libcst/testing/utils.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/__init__.py b/libcst/tests/__init__.py index 62642369..7bec24cb 100644 --- a/libcst/tests/__init__.py +++ b/libcst/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/pyre/simple_class.py b/libcst/tests/pyre/simple_class.py index 2ee2d32f..d9d6784c 100644 --- a/libcst/tests/pyre/simple_class.py +++ b/libcst/tests/pyre/simple_class.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_batched_visitor.py b/libcst/tests/test_batched_visitor.py index ee3351f4..9bcc562f 100644 --- a/libcst/tests/test_batched_visitor.py +++ b/libcst/tests/test_batched_visitor.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_deep_clone.py b/libcst/tests/test_deep_clone.py index eaf56adf..b6cf2be5 100644 --- a/libcst/tests/test_deep_clone.py +++ b/libcst/tests/test_deep_clone.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_deep_replace.py b/libcst/tests/test_deep_replace.py index 77c29f09..d8e5b475 100644 --- a/libcst/tests/test_deep_replace.py +++ b/libcst/tests/test_deep_replace.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_exceptions.py b/libcst/tests/test_exceptions.py index 4ca88e5a..f54f1da6 100644 --- a/libcst/tests/test_exceptions.py +++ b/libcst/tests/test_exceptions.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_pyre_integration.py b/libcst/tests/test_pyre_integration.py index 9d4b3f20..266a3933 100644 --- a/libcst/tests/test_pyre_integration.py +++ b/libcst/tests/test_pyre_integration.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_tabs.py b/libcst/tests/test_tabs.py index f21811b2..23ff9047 100644 --- a/libcst/tests/test_tabs.py +++ b/libcst/tests/test_tabs.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_tool.py b/libcst/tests/test_tool.py index b5b4aeeb..929d7225 100644 --- a/libcst/tests/test_tool.py +++ b/libcst/tests/test_tool.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_type_enforce.py b/libcst/tests/test_type_enforce.py index 16955241..7c01b82b 100644 --- a/libcst/tests/test_type_enforce.py +++ b/libcst/tests/test_type_enforce.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tests/test_visitor.py b/libcst/tests/test_visitor.py index 5bc0510e..bf540553 100644 --- a/libcst/tests/test_visitor.py +++ b/libcst/tests/test_visitor.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/libcst/tool.py b/libcst/tool.py index cb907764..bac61186 100644 --- a/libcst/tool.py +++ b/libcst/tool.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/native/libcst/Cargo.toml b/native/libcst/Cargo.toml index f009e918..04b8013c 100644 --- a/native/libcst/Cargo.toml +++ b/native/libcst/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/native/libcst/benches/parser_benchmark.rs b/native/libcst/benches/parser_benchmark.rs index 92f51883..7a12ebb3 100644 --- a/native/libcst/benches/parser_benchmark.rs +++ b/native/libcst/benches/parser_benchmark.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use std::{ path::{Component, PathBuf}, time::Duration, diff --git a/native/libcst/src/bin.rs b/native/libcst/src/bin.rs index 234b9017..1b42859a 100644 --- a/native/libcst/src/bin.rs +++ b/native/libcst/src/bin.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use libcst_native::*; use std::{ env, diff --git a/native/libcst/src/lib.rs b/native/libcst/src/lib.rs index 6c809768..e4355997 100644 --- a/native/libcst/src/lib.rs +++ b/native/libcst/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/codegen.rs b/native/libcst/src/nodes/codegen.rs index 3b4f3e7a..99cc377a 100644 --- a/native/libcst/src/nodes/codegen.rs +++ b/native/libcst/src/nodes/codegen.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/expression.rs b/native/libcst/src/nodes/expression.rs index cb70d572..c55e327d 100644 --- a/native/libcst/src/nodes/expression.rs +++ b/native/libcst/src/nodes/expression.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/inflate_helpers.rs b/native/libcst/src/nodes/inflate_helpers.rs index 902ad032..262de5ac 100644 --- a/native/libcst/src/nodes/inflate_helpers.rs +++ b/native/libcst/src/nodes/inflate_helpers.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use crate::{ nodes::traits::Result, tokenizer::{ diff --git a/native/libcst/src/nodes/macros.rs b/native/libcst/src/nodes/macros.rs index 1c47e3fa..76498b8e 100644 --- a/native/libcst/src/nodes/macros.rs +++ b/native/libcst/src/nodes/macros.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/mod.rs b/native/libcst/src/nodes/mod.rs index 43981e87..f39cf607 100644 --- a/native/libcst/src/nodes/mod.rs +++ b/native/libcst/src/nodes/mod.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + mod whitespace; pub use whitespace::{ Comment, EmptyLine, Fakeness, Newline, ParenthesizableWhitespace, ParenthesizedWhitespace, diff --git a/native/libcst/src/nodes/module.rs b/native/libcst/src/nodes/module.rs index 8040be64..03c6afb5 100644 --- a/native/libcst/src/nodes/module.rs +++ b/native/libcst/src/nodes/module.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/op.rs b/native/libcst/src/nodes/op.rs index ef09e0a0..fa031d4c 100644 --- a/native/libcst/src/nodes/op.rs +++ b/native/libcst/src/nodes/op.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/parser_config.rs b/native/libcst/src/nodes/parser_config.rs index 3b85eae2..acf140ee 100644 --- a/native/libcst/src/nodes/parser_config.rs +++ b/native/libcst/src/nodes/parser_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/py_cached.rs b/native/libcst/src/nodes/py_cached.rs index e8a4dfd4..0a7fe691 100644 --- a/native/libcst/src/nodes/py_cached.rs +++ b/native/libcst/src/nodes/py_cached.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/statement.rs b/native/libcst/src/nodes/statement.rs index 63c8ab8a..2247045b 100644 --- a/native/libcst/src/nodes/statement.rs +++ b/native/libcst/src/nodes/statement.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/test_utils.rs b/native/libcst/src/nodes/test_utils.rs index 6a462c8d..109d471d 100644 --- a/native/libcst/src/nodes/test_utils.rs +++ b/native/libcst/src/nodes/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/nodes/traits.rs b/native/libcst/src/nodes/traits.rs index 155ae17a..7e30b359 100644 --- a/native/libcst/src/nodes/traits.rs +++ b/native/libcst/src/nodes/traits.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use crate::{ tokenizer::whitespace_parser::{Config, WhitespaceError}, Codegen, CodegenState, Comma, EmptyLine, LeftParen, RightParen, diff --git a/native/libcst/src/nodes/whitespace.rs b/native/libcst/src/nodes/whitespace.rs index 89f2800e..2c99a048 100644 --- a/native/libcst/src/nodes/whitespace.rs +++ b/native/libcst/src/nodes/whitespace.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/parser/errors.rs b/native/libcst/src/parser/errors.rs index 641d9630..44573248 100644 --- a/native/libcst/src/parser/errors.rs +++ b/native/libcst/src/parser/errors.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use pyo3::types::{IntoPyDict, PyModule}; use pyo3::{IntoPy, PyErr, PyErrArguments, Python}; diff --git a/native/libcst/src/parser/grammar.rs b/native/libcst/src/parser/grammar.rs index f79594f2..a291e132 100644 --- a/native/libcst/src/parser/grammar.rs +++ b/native/libcst/src/parser/grammar.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/parser/mod.rs b/native/libcst/src/parser/mod.rs index 76094afb..8e6ec8e1 100644 --- a/native/libcst/src/parser/mod.rs +++ b/native/libcst/src/parser/mod.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + mod errors; mod grammar; mod numbers; diff --git a/native/libcst/src/parser/numbers.rs b/native/libcst/src/parser/numbers.rs index abe23065..19d12214 100644 --- a/native/libcst/src/parser/numbers.rs +++ b/native/libcst/src/parser/numbers.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use once_cell::sync::Lazy; use regex::Regex; diff --git a/native/libcst/src/py.rs b/native/libcst/src/py.rs index 827e6b2d..b938b691 100644 --- a/native/libcst/src/py.rs +++ b/native/libcst/src/py.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use pyo3::prelude::*; #[pymodule] diff --git a/native/libcst/src/tokenizer/core/mod.rs b/native/libcst/src/tokenizer/core/mod.rs index 7c9f0684..5e8c29a1 100644 --- a/native/libcst/src/tokenizer/core/mod.rs +++ b/native/libcst/src/tokenizer/core/mod.rs @@ -1,4 +1,4 @@ -// This implementation is Copyright (c) Facebook, Inc. and its affiliates. +// This implementation is Copyright (c) Meta Platforms, Inc. and its affiliates. // // CPython 3.10.0a5 and the original C code this is based on is // Copyright (c) 2001-2021 Python Software Foundation; All Rights Reserved diff --git a/native/libcst/src/tokenizer/core/string_types.rs b/native/libcst/src/tokenizer/core/string_types.rs index 0d14d1e8..27f0be36 100644 --- a/native/libcst/src/tokenizer/core/string_types.rs +++ b/native/libcst/src/tokenizer/core/string_types.rs @@ -1,4 +1,4 @@ -// This implementation is Copyright (c) Facebook, Inc. and its affiliates. +// This implementation is Copyright (c) Meta Platforms, Inc. and its affiliates. // // CPython 3.10.0a5 and the original C code this is based on is // Copyright (c) 2001-2021 Python Software Foundation; All Rights Reserved diff --git a/native/libcst/src/tokenizer/debug_utils.rs b/native/libcst/src/tokenizer/debug_utils.rs index 8e646f8d..543258a1 100644 --- a/native/libcst/src/tokenizer/debug_utils.rs +++ b/native/libcst/src/tokenizer/debug_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/mod.rs b/native/libcst/src/tokenizer/mod.rs index e900f511..60f1a20d 100644 --- a/native/libcst/src/tokenizer/mod.rs +++ b/native/libcst/src/tokenizer/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/operators.rs b/native/libcst/src/tokenizer/operators.rs index e3098cfa..94f70805 100644 --- a/native/libcst/src/tokenizer/operators.rs +++ b/native/libcst/src/tokenizer/operators.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/tests.rs b/native/libcst/src/tokenizer/tests.rs index d839e815..6b4dfbb1 100644 --- a/native/libcst/src/tokenizer/tests.rs +++ b/native/libcst/src/tokenizer/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/text_position/char_width.rs b/native/libcst/src/tokenizer/text_position/char_width.rs index 84f36405..879e1283 100644 --- a/native/libcst/src/tokenizer/text_position/char_width.rs +++ b/native/libcst/src/tokenizer/text_position/char_width.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/text_position/mod.rs b/native/libcst/src/tokenizer/text_position/mod.rs index b6905484..f94d7311 100644 --- a/native/libcst/src/tokenizer/text_position/mod.rs +++ b/native/libcst/src/tokenizer/text_position/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) Facebook, Inc. and its affiliates. +// Copyright (c) Meta Platforms, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/native/libcst/src/tokenizer/whitespace_parser.rs b/native/libcst/src/tokenizer/whitespace_parser.rs index e624bc3d..ec463f99 100644 --- a/native/libcst/src/tokenizer/whitespace_parser.rs +++ b/native/libcst/src/tokenizer/whitespace_parser.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use crate::nodes::{ Comment, EmptyLine, Fakeness, Newline, ParenthesizableWhitespace, ParenthesizedWhitespace, SimpleWhitespace, TrailingWhitespace, diff --git a/native/libcst/tests/parser_roundtrip.rs b/native/libcst/tests/parser_roundtrip.rs index 2b8c79dd..b16a46f0 100644 --- a/native/libcst/tests/parser_roundtrip.rs +++ b/native/libcst/tests/parser_roundtrip.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use difference::assert_diff; use itertools::Itertools; use libcst_native::{parse_module, prettify_error, Codegen}; diff --git a/native/libcst_derive/src/codegen.rs b/native/libcst_derive/src/codegen.rs index 208d5104..4fce05df 100644 --- a/native/libcst_derive/src/codegen.rs +++ b/native/libcst_derive/src/codegen.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use proc_macro::TokenStream; use quote::{quote, quote_spanned}; use syn::{self, spanned::Spanned, Data, DataEnum, DeriveInput, Fields, FieldsUnnamed}; diff --git a/native/libcst_derive/src/inflate.rs b/native/libcst_derive/src/inflate.rs index 6223a256..323160c1 100644 --- a/native/libcst_derive/src/inflate.rs +++ b/native/libcst_derive/src/inflate.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use proc_macro::TokenStream; use quote::{quote, quote_spanned}; use syn::{self, spanned::Spanned, Data, DataEnum, DeriveInput, Fields, FieldsUnnamed}; diff --git a/native/libcst_derive/src/into_py.rs b/native/libcst_derive/src/into_py.rs index 26da5fca..2ba4160c 100644 --- a/native/libcst_derive/src/into_py.rs +++ b/native/libcst_derive/src/into_py.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use proc_macro::TokenStream; use quote::{format_ident, quote, quote_spanned, ToTokens}; use syn::{ diff --git a/native/libcst_derive/src/lib.rs b/native/libcst_derive/src/lib.rs index 4a687bec..97d1e321 100644 --- a/native/libcst_derive/src/lib.rs +++ b/native/libcst_derive/src/lib.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + mod inflate; use inflate::impl_inflate; mod parenthesized_node; diff --git a/native/libcst_derive/src/parenthesized_node.rs b/native/libcst_derive/src/parenthesized_node.rs index 52d2aab4..fe716510 100644 --- a/native/libcst_derive/src/parenthesized_node.rs +++ b/native/libcst_derive/src/parenthesized_node.rs @@ -1,3 +1,8 @@ +// Copyright (c) Meta Platforms, Inc. and its affiliates. +// +// This source code is licensed under the MIT license found in the +// LICENSE file in the root directory of this source tree + use proc_macro::TokenStream; use quote::{quote, quote_spanned}; use syn::{spanned::Spanned, Data, DataEnum, DeriveInput, Fields, FieldsUnnamed}; diff --git a/setup.py b/setup.py index 5558798f..0418cf26 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/stubs/libcst_native/parser_config.pyi b/stubs/libcst_native/parser_config.pyi index 0165df79..412da05e 100644 --- a/stubs/libcst_native/parser_config.pyi +++ b/stubs/libcst_native/parser_config.pyi @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -14,11 +14,9 @@ class BaseWhitespaceParserConfig: lines: Sequence[str], default_newline: str, ) -> BaseWhitespaceParserConfig: ... - lines: Sequence[str] default_newline: str - class ParserConfig(BaseWhitespaceParserConfig): def __new__( cls, @@ -31,7 +29,6 @@ class ParserConfig(BaseWhitespaceParserConfig): version: PythonVersionInfo, future_imports: FrozenSet[str], ) -> BaseWhitespaceParserConfig: ... - # lines is inherited encoding: str default_indent: str @@ -40,5 +37,4 @@ class ParserConfig(BaseWhitespaceParserConfig): version: PythonVersionInfo future_imports: FrozenSet[str] - def parser_config_asdict(config: ParserConfig) -> Mapping[str, Any]: ... diff --git a/stubs/libcst_native/token_type.pyi b/stubs/libcst_native/token_type.pyi index a0dd8179..4dacfad7 100644 --- a/stubs/libcst_native/token_type.pyi +++ b/stubs/libcst_native/token_type.pyi @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/stubs/libcst_native/tokenize.pyi b/stubs/libcst_native/tokenize.pyi index bbcbeab0..91c6d2e9 100644 --- a/stubs/libcst_native/tokenize.pyi +++ b/stubs/libcst_native/tokenize.pyi @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/stubs/libcst_native/whitespace_parser.pyi b/stubs/libcst_native/whitespace_parser.pyi index 291f6dc6..b2b51b54 100644 --- a/stubs/libcst_native/whitespace_parser.pyi +++ b/stubs/libcst_native/whitespace_parser.pyi @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. diff --git a/stubs/libcst_native/whitespace_state.pyi b/stubs/libcst_native/whitespace_state.pyi index da43bd54..82db9527 100644 --- a/stubs/libcst_native/whitespace_state.pyi +++ b/stubs/libcst_native/whitespace_state.pyi @@ -1,4 +1,4 @@ -# Copyright (c) Facebook, Inc. and its affiliates. +# Copyright (c) Meta Platforms, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. @@ -7,7 +7,6 @@ class WhitespaceState: def __new__( cls, line: int, column: int, absolute_indent: str, is_parenthesized: bool ) -> WhitespaceState: ... - line: int # one-indexed (to match parso's behavior) column: int # zero-indexed (to match parso's behavior) # What to look for when executing `_parse_indent`.