File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed 
gazelle/examples/bzlmod_build_file_generation Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,10 @@ common --experimental_enable_bzlmod
77
88coverage --java_runtime_version=remotejdk_11
99common:bazel7.x --incompatible_python_disallow_native_rules
10+ 
11+ # NOTE: This override is specific to the development of gazelle itself
12+ # and the testing of it during its BCR release presubmits.
13+ # In development of gazelle itself, we override it to the development
14+ # rules_python code. In the BCR presubmits, this override is removed
15+ # and the bazel_dep version of rules_python is used.
16+ common --override_module=rules_python=../../../
Original file line number Diff line number Diff line change @@ -15,15 +15,6 @@ module(
1515# https://github.com/bazel-contrib/rules_python/releases 
1616bazel_dep (name  =  "rules_python" , version  =  "1.0.0" )
1717
18- # NOTE: This override is removed for BCR presubmits and the version 
19- # specified by bazel_dep() is used instead. 
20- # The following loads rules_python from the file system. 
21- # For usual setups you should remove this local_path_override block. 
22- local_path_override (
23-     module_name  =  "rules_python" ,
24-     path  =  "../../.." ,
25- )
26- 
2718# The following stanza defines the dependency rules_python_gazelle_plugin. 
2819# For typical setups you set the version. 
2920# See the releases page for available versions. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments