first pylint correction
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m26s
				
			
		
			
				
	
				Run linting on the backend code / Build (pull_request) Failing after 30s
				
			
		
			
				
	
				Run testing on the backend code / Build (pull_request) Successful in 2m12s
				
			
		
			
				
	
				Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 15s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m26s
				
			Run linting on the backend code / Build (pull_request) Failing after 30s
				
			Run testing on the backend code / Build (pull_request) Successful in 2m12s
				
			Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 15s
				
			This commit is contained in:
		@@ -63,7 +63,7 @@ class LandmarkManager:
 | 
			
		||||
        and current location. It scores and corrects these landmarks, removes duplicates, and then selects the most important
 | 
			
		||||
        landmarks based on a predefined criterion.
 | 
			
		||||
 | 
			
		||||
        Parameters:
 | 
			
		||||
        Args:
 | 
			
		||||
        center_coordinates (tuple[float, float]): The latitude and longitude of the center location around which to search.
 | 
			
		||||
        preferences (Preferences): The user's preference settings that influence the landmark selection.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -38,11 +38,11 @@ class Refiner :
 | 
			
		||||
        Create a corridor around the path connecting the landmarks.
 | 
			
		||||
 | 
			
		||||
        Args:
 | 
			
		||||
            landmarks (list[Landmark]): the landmark path around which to create the corridor
 | 
			
		||||
            width (float): Width of the corridor in meters.
 | 
			
		||||
            landmarks (list[Landmark]) : the landmark path around which to create the corridor
 | 
			
		||||
            width (float) : width of the corridor in meters.
 | 
			
		||||
 | 
			
		||||
        Returns:
 | 
			
		||||
            Geometry: A buffered geometry object representing the corridor around the path.
 | 
			
		||||
            Geometry: a buffered geometry object representing the corridor around the path.
 | 
			
		||||
        """
 | 
			
		||||
 | 
			
		||||
        corrected_width = (180*width)/(6371000*pi)
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@ from ..structs.landmark import Landmark
 | 
			
		||||
def take_most_important(landmarks: list[Landmark], n_important) -> list[Landmark]:
 | 
			
		||||
    """
 | 
			
		||||
    Given a list of landmarks, return the n_important most important landmarks
 | 
			
		||||
    Parameters:
 | 
			
		||||
    Args:
 | 
			
		||||
    landmarks: list[Landmark] - list of landmarks
 | 
			
		||||
    n_important: int - number of most important landmarks to return
 | 
			
		||||
    Returns:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user