You're looking at it

Homepage: https://roundabout-host.com

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Style guide update

roundabout,
created on Wednesday, 13 November 2024, 14:26:46 (1731508006), received on Wednesday, 13 November 2024, 14:28:31 (1731508111)
Author identity: vlad <vlad.muntoiu@gmail.com>

408061b8017da95c40c95b104f1ae5fe7e5610b4

doc/internal/Contributing.md

@@ -114,7 +114,8 @@ defines `__all__`.

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            Never insert more than one space around operators and other symbols. Never add spaces just to align lines.
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            ##### When to use
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        * around the lowest priority operators in an expression, comparisons, assignments, and logical operators, as well as the function annotation arrow
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        * around the lowest priority operators in an expression, comparisons, assignments, and logical operators, as well as the function annotation arrow;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          please resist the formatter's urge to space all operators; spacing them according to their priority makes the code more readable
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              ~~~python
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              # Do
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              thing += 10 + 2*thing