Skip to content

Commit ccfaf8f

Browse files
generatedunixname89002005307016meta-codesync[bot]
authored andcommitted
Remove Pyre mode headers in fbcode/erc
Summary: Remove standalone `# pyre-strict` and `# pyre-unsafe` mode headers from Python files under `fbcode/erc`. Pyrefly type-checks all files in one consistent mode, so these legacy per-file mode headers no longer have an effect. Other Pyre directives and generated files are left unchanged.Pyrefly is now the default type checker across FBCode so this diff introduces no functional changes. #pyreupgrade Differential Revision: D117256032 fbshipit-source-id: c9ebd2e47e10cfbeb1630bb73e8967d681a21b20
1 parent d62c222 commit ccfaf8f

12 files changed

Lines changed: 0 additions & 12 deletions

svinfer/linear_model/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/linear_model/linear_regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/linear_model/logistic_regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
from __future__ import annotations
76

svinfer/processor/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/processor/commons.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/processor/matrix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/summary_statistics/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/summary_statistics/summary_statistics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-strict
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/tests/test_linear_regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-strict
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

svinfer/tests/test_logistic_regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33

4-
# pyre-unsafe
54

65
# Licensed under the Apache License, Version 2.0 (the "License");
76
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)