53
53
)
54
54
55
55
def read_bool (section , field , default , required = True ):
56
- # @lint-ignore BUCKRESTRICTEDSYNTAX
57
56
val = read_config (section , field )
58
57
if val != None :
59
58
if val in ["true" , "True" , "1" ]:
@@ -147,7 +146,6 @@ def get_glsl_paths():
147
146
def spv_shader_library ():
148
147
pass
149
148
150
- # @lint-ignore BUCKRESTRICTEDSYNTAX
151
149
IS_OSS = read_config ("pt" , "is_oss" , "0" ) == "1" # True for OSS BUCK build, and False for internal BUCK build
152
150
153
151
NOT_OSS = not IS_OSS
@@ -847,7 +845,6 @@ def define_buck_targets(
847
845
# @lint-ignore BUCKLINT
848
846
fb_native .filegroup (
849
847
name = "metal_build_srcs" ,
850
- # @lint-ignore BUCKRESTRICTEDSYNTAX
851
848
srcs = glob (METAL_SOURCE_LIST ),
852
849
visibility = [
853
850
"PUBLIC" ,
@@ -858,7 +855,6 @@ def define_buck_targets(
858
855
fb_native .filegroup (
859
856
name = "templated_selective_build_srcs" ,
860
857
# NB: no glob here, there are generated targets in this list!
861
- # @lint-ignore BUCKRESTRICTEDSYNTAX
862
858
srcs = glob (TEMPLATE_SOURCE_LIST ) + aten_ufunc_generated_all_cpu_sources (":gen_aten[{}]" ),
863
859
visibility = [
864
860
"PUBLIC" ,
@@ -1044,7 +1040,6 @@ def define_buck_targets(
1044
1040
srcs = [
1045
1041
"aten/src/ATen/native/native_functions.yaml" ,
1046
1042
"aten/src/ATen/native/tags.yaml" ,
1047
- # @lint-ignore BUCKRESTRICTEDSYNTAX
1048
1043
] + glob (["aten/src/ATen/templates/*" ]),
1049
1044
visibility = [
1050
1045
"PUBLIC" ,
0 commit comments