diff options
author | Googler <noreply@google.com> | 2018-07-26 07:40:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-26 07:42:04 -0700 |
commit | 676e0cd86b51e37cfa710e456b22853914c1cf0a (patch) | |
tree | b1722a31983f2e6ea37f347271fa0190d417da4b /src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java | |
parent | 7574865cc13cbe73ff8c1e959888d5d4426bb5ff (diff) |
Add the .py3 extension as a valid Python source.
RELNOTES: None.
PiperOrigin-RevId: 206156886
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java index f24255b9c3..584e76c19e 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/python/PyRuleClasses.java @@ -25,7 +25,7 @@ import com.google.devtools.build.lib.util.FileType; */ public class PyRuleClasses { - public static final FileType PYTHON_SOURCE = FileType.of(".py"); + public static final FileType PYTHON_SOURCE = FileType.of(".py", ".py3"); public static final LibraryLanguage LANGUAGE = new LibraryLanguage("Python"); /** |